i'm trying to trigger the encryption of my ICS device programmatically by launching an intent (Intent --> DevicePolicyManager.ACTION_START_ENCRYPTION)
. This works quite well. I would like to know whether there is sent an broadcast or sth like that to recognize if the user clicked on "encrypt device" or declined the request.
I need to notice the users decision.
My second question concerns the method setStorageEncryption(admin, boolean)
, which is implemented within the DevicePolicyManager
. Does a call of setStorageEncryption(admin, false)
has any impacts on the device encryption, if I afterwards launch the Encryption intent which is mentioned above?
Kind regards