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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -