I've let user enable 'device administration' with
but after it the user unable to uninstall the pp from "Settings-Apps". Is there a way to uninstall app?
res/xml/device_admin.xml:
Code:
new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN)
res/xml/device_admin.xml:
<uses-policies>
<disable-camera />
<encrypted-storage />
<expire-password />
<force-lock />
<limit-password />
<reset-password />
<watch-login />
<wipe-data />
</uses-policies>