android - Check device admin policies enforced on the device -
can check policies enforced on device device admin.i want enable/disable features , show prompt user based on policies enforced on device.
for eg: want disable camera option in app when camera restriction policy has being enabled admin on device.this improve usability.
please note app not device admin app.
the getter methods on devicepolicymanager
available apps, afaik. so, getcameradisabled(null)
should tell if camera disabled. appropriate device admin can change camera-disabled setting, though.
Comments
Post a Comment