Searched refs:restrictions (Results 1 – 5 of 5) sorted by relevance
102 Bundle restrictions = manager.getApplicationRestrictions(); in resolveRestrictions() local109 updateCanSayHello(entry, restrictions); in resolveRestrictions()111 updateMessage(entry, restrictions); in resolveRestrictions()113 updateNumber(entry, restrictions); in resolveRestrictions()115 updateRank(entry, restrictions); in resolveRestrictions()117 updateApprovals(entry, restrictions); in resolveRestrictions()119 updateItems(restrictions); in resolveRestrictions()124 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { in updateCanSayHello() argument126 if (restrictions == null || !restrictions.containsKey(KEY_CAN_SAY_HELLO)) { in updateCanSayHello()129 canSayHello = restrictions.getBoolean(KEY_CAN_SAY_HELLO); in updateCanSayHello()[all …]
8 This sample demonstrates how to set restrictions to other apps as a profile owner.9 Use the AppRestrictionSchema sample to set restrictions.
8 This sample shows how to use app restrictions. This application has one boolean
9 enable or disable other apps and how to set restrictions to them. Intents can be
243 List<RestrictionEntry> restrictions = in loadRestrictions() local246 for (RestrictionEntry restriction : restrictions) { in loadRestrictions()