Restricted Profiles Settings Not Being Remembered
I have followed http://www.youtube.com/watch?v=pdUcANNm72o and set up settings for my app. I have 10 Booleans that appear. This can be set and when in the profile called. However
Solution 1:
Turns out that you need to add some code when generating the RestrictionEntry
Though I will update so that people don't have to hunt...
In your receiver call
finalBundleoldRestrictions= intent.getBundleExtra(Intent.EXTRA_RESTRICTIONS_BUNDLE);
then when creating the entry reference it.
e.g.
RestrictionEntry myEntry = new RestrictionEntry(KEY, oldRestrictions.getBoolean(KEY, false));
myEntry.setType(RestrictionEntry.TYPE_BOOLEAN);
myEntry.setTitle("KEY TITLE");
newEntries.add(myEntry);
Post a Comment for "Restricted Profiles Settings Not Being Remembered"