mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-24 03:16:00 +00:00
hide some entries if permission is not enough
This commit is contained in:
@@ -168,9 +168,7 @@ fun ShizukuActivate() {
|
||||
}
|
||||
}
|
||||
|
||||
if(
|
||||
VERSION.SDK_INT >= 30 && isProfileOwner(dpm) && dpm.isManagedProfile(receiver) && !dpm.isOrganizationOwnedDeviceWithManagedProfile
|
||||
) {
|
||||
if(VERSION.SDK_INT >= 30 && !dpm.isOrgProfile(receiver)) {
|
||||
AnimatedVisibility(showOrgProfileOwnerButton) {
|
||||
Button(
|
||||
onClick = {
|
||||
|
||||
Reference in New Issue
Block a user