How to remove set-device-owner in Android DPM?

前端 未结 5 2036
花落未央
花落未央 2020-12-09 00:15

I have made an app device owner using ADB, by following this link : How to make my app a device owner?

but now, I\'m not able to revert this.

In the device a

5条回答
  •  执念已碎
    2020-12-09 00:41

    you can use the following ADB shell command to remove device owner

    adb shell dpm remove-active-admin ComponentInfo{}
    

    Disables an active admin, the admin must have declared android:testOnly in the application in its manifest. This will also remove device and profile owners

提交回复
热议问题