Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2323 final Set<String> restrictionsToSet = new ArraySet<>(defaultRestrictions); in maybeSetDefaultRestrictionsForAdminLocked() local
2324 restrictionsToSet.removeAll(admin.defaultEnabledRestrictionsAlreadySet); in maybeSetDefaultRestrictionsForAdminLocked()
2325 if (!restrictionsToSet.isEmpty()) { in maybeSetDefaultRestrictionsForAdminLocked()
2326 for (final String restriction : restrictionsToSet) { in maybeSetDefaultRestrictionsForAdminLocked()
2329 admin.defaultEnabledRestrictionsAlreadySet.addAll(restrictionsToSet); in maybeSetDefaultRestrictionsForAdminLocked()
2330 Slog.i(LOG_TAG, "Enabled the following restrictions by default: " + restrictionsToSet); in maybeSetDefaultRestrictionsForAdminLocked()