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

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -