![]() ![]() ![]() I am trying to access the application restrictions with the following code var restrictionsManager = (RestrictionsManager)(Context.RestrictionsService) īundle appRestrictions = restrictionsManager. I have added the following to my AndroidManiifest.xml Note - I am using Xamarin but the code should be similar to native Java. However I cannot read the app restrictions inside my application. I can save any changes I make, there are no errors in Test DPC when I do this so I assume it is correct and it has saved them. I can use Test DPC to retrieve the default values for my applications app restrictions. This is where the Test DPC tool comes into play. Users need to know how it will behave in various environments and in certain situations, but testing those scenarios is not that easy. It’s not enough to just build a new Android application. ![]() I added my application to the set of applications Test DPC manages. Test DPC is a tool developed as a sample device policy controller for use with Android for Work. S I have set up a work profile (without a user) on my device using Test DPC. I have implemented the code and am trying to test it using Test DPC. I am trying to use android app restrictions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |