Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java106 final int adminUserId = enforcingUsers.get(0).getUserHandle().getIdentifier(); in checkIfRestrictionEnforced() local
109 if (adminUserId == userId) { in checkIfRestrictionEnforced()
110 return getProfileOwner(context, userRestriction, adminUserId); in checkIfRestrictionEnforced()
114 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced()
116 ? getProfileOwner(context, userRestriction, adminUserId) in checkIfRestrictionEnforced()
122 return adminUserId == userId in checkIfRestrictionEnforced()