Search code examples
androidapkdevice-admin

Give "device administrator" permission to Android app that don't request


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?


Solution

  • 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.