How to make any Android app require Device administrator permission?
Reason: I want to give WhatsApp "Device admin" permission; So that my organization that manages the device cannot delete it.
Any thoughts?
CodePudding user response:
This is not possible.
A device administrator app need to implement an DeviceAdminReceiver with a specific Manifest and declare admin policies on a specific xml file.
In other words, only an app designed to be device admin can have device admin permission. Which is not the case of WhatsApp.