Home
last modified time | relevance | path

Searched refs:existingRestrictions (Results 1 – 1 of 1) sorted by relevance

/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
DGetRestrictionsReceiver.java45 final Bundle existingRestrictions = in onReceive() local
47 Log.i(TAG, "existingRestrictions = " + existingRestrictions); in onReceive()
51 createRestrictions(context, result, existingRestrictions); in onReceive()
110 Bundle existingRestrictions) { in createRestrictions() argument
118 if (existingRestrictions == null) { in createRestrictions()
131 entry.setSelectedState(existingRestrictions.getBoolean(KEY_BOOLEAN)); in createRestrictions()
133 if (existingRestrictions.containsKey(KEY_CHOICE)) { in createRestrictions()
134 entry.setSelectedString(existingRestrictions.getString(KEY_CHOICE)); in createRestrictions()
137 if (existingRestrictions.containsKey(KEY_MULTI_SELECT)) { in createRestrictions()
138 entry.setAllSelectedStrings(existingRestrictions.getStringArray(key)); in createRestrictions()