Home
last modified time | relevance | path

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

/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java70 private static final String RESTRICTION_KEY_SAY_HELLO = "can_say_hello"; field in AppRestrictionEnforcerFragment
248 if (RESTRICTION_KEY_SAY_HELLO.equals(key)) { in loadRestrictions()
249 updateCanSayHello(prefs.getBoolean(RESTRICTION_KEY_SAY_HELLO, in loadRestrictions()
279 mCurrentRestrictions.putBoolean(RESTRICTION_KEY_SAY_HELLO, canSayHello); in updateCanSayHello()
379 mCurrentRestrictions.putBoolean(RESTRICTION_KEY_SAY_HELLO, allow); in saveCanSayHello()
382 editPreferences(activity).putBoolean(RESTRICTION_KEY_SAY_HELLO, allow).apply(); in saveCanSayHello()