mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 11:05:59 +00:00
hide activate org profile button in main user
Signed-off-by: BinTianqi <bintianqi512@gmail.com>
This commit is contained in:
@@ -168,7 +168,7 @@ fun ShizukuActivate() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(VERSION.SDK_INT >= 30 && !dpm.isOrgProfile(receiver)) {
|
if(VERSION.SDK_INT >= 30 && isProfileOwner(dpm) && dpm.isManagedProfile(receiver) && !dpm.isOrganizationOwnedDeviceWithManagedProfile) {
|
||||||
AnimatedVisibility(showOrgProfileOwnerButton) {
|
AnimatedVisibility(showOrgProfileOwnerButton) {
|
||||||
Button(
|
Button(
|
||||||
onClick = {
|
onClick = {
|
||||||
|
|||||||
Reference in New Issue
Block a user