小米12s pro骁龙版,澎湃os v1.0.4.0 无法取消设备管理员
Opened this issue · 1 comments
aliadoo2018 commented
要怎么取消设备管理员呢,设备管理员选项是灰色不可选。
网上找了一个命令:
adb shell dpm remove-active-admin com.aistra.hail/.receiver.DeviceAdminReceiver
操作后:
Exception occurred while executing 'remove-active-admin':
java.lang.SecurityException: Attempt to remove non-test admin ComponentInfo{com.aistra.hail/com.aistra.hail.receiver.DeviceAdminReceiver} 0
at com.android.server.devicepolicy.DevicePolicyManagerService.lambda$forceRemoveActiveAdmin$12(DevicePolicyManagerService.java:4050)
at com.android.server.devicepolicy.DevicePolicyManagerService.$r8$lambda$cFxfkN8--j9hwbtI_Iutdy6FzII(Unknown Source:0)
at com.android.server.devicepolicy.DevicePolicyManagerService$$ExternalSyntheticLambda163.runOrThrow(Unknown Source:6)
at android.os.Binder.withCleanCallingIdentity(Binder.java:439)
at com.android.server.devicepolicy.DevicePolicyManagerService$Injector.binderWithCleanCallingIdentity(DevicePolicyManagerService.java:1849)
at com.android.server.devicepolicy.DevicePolicyManagerService.forceRemoveActiveAdmin(DevicePolicyManagerService.java:4046)
at com.android.server.devicepolicy.DevicePolicyManagerServiceShellCommand.runRemoveActiveAdmin(DevicePolicyManagerServiceShellCommand.java:278)
at com.android.server.devicepolicy.DevicePolicyManagerServiceShellCommand.onCommand(DevicePolicyManagerServiceShellCommand.java:91)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.devicepolicy.DevicePolicyManagerService.onShellCommand(DevicePolicyManagerService.java:11472)
at android.os.Binder.shellCommand(Binder.java:1075)
at android.os.Binder.onTransact(Binder.java:895)
at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:6329)
at android.os.Binder.execTransactInternal(Binder.java:1351)
at android.os.Binder.execTransact(Binder.java:1282)
aliadoo2018 commented