Disable a device owner app from android terminal

前端 未结 2 839
隐瞒了意图╮
隐瞒了意图╮ 2021-01-24 12:53

well, my problem is: I have an application which is set as the device owner of a device (my tablet in this case). I did it from the terminal in Ubuntu, connecting the tablet to

2条回答
  •  無奈伤痛
    2021-01-24 13:53

    You can use DevicePolicyManager.clearDeviceOwnerApp() from your device owner app.

    However note that this method has been deprecated in Android Oreo, you can still use it on Oreo devices but it might be removed in future Android versions.

提交回复
热议问题