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.java2440 final Set<String> restrictionsToSet = new ArraySet<>(defaultRestrictions); in maybeSetDefaultRestrictionsForAdminLocked() local
2441 restrictionsToSet.removeAll(admin.defaultEnabledRestrictionsAlreadySet); in maybeSetDefaultRestrictionsForAdminLocked()
2442 if (!restrictionsToSet.isEmpty()) { in maybeSetDefaultRestrictionsForAdminLocked()
2443 for (final String restriction : restrictionsToSet) { in maybeSetDefaultRestrictionsForAdminLocked()
2446 admin.defaultEnabledRestrictionsAlreadySet.addAll(restrictionsToSet); in maybeSetDefaultRestrictionsForAdminLocked()
2447 Slog.i(LOG_TAG, "Enabled the following restrictions by default: " + restrictionsToSet); in maybeSetDefaultRestrictionsForAdminLocked()