Loading services/core/java/com/android/server/pm/UserManagerService.java +10 −6 Original line number Diff line number Diff line Loading @@ -1712,6 +1712,8 @@ public class UserManagerService extends IUserManager.Stub { @Override public int getCredentialOwnerProfile(@UserIdInt int userId) { checkManageUsersPermission("get the credential owner"); final long identity = Binder.clearCallingIdentity(); try { if (!mLockPatternUtils.isSeparateProfileChallengeEnabled(userId)) { synchronized (mUsersLock) { UserInfo profileParent = getProfileParentLU(userId); Loading @@ -1720,7 +1722,9 @@ public class UserManagerService extends IUserManager.Stub { } } } } finally { Binder.restoreCallingIdentity(identity); } return userId; } Loading Loading
services/core/java/com/android/server/pm/UserManagerService.java +10 −6 Original line number Diff line number Diff line Loading @@ -1712,6 +1712,8 @@ public class UserManagerService extends IUserManager.Stub { @Override public int getCredentialOwnerProfile(@UserIdInt int userId) { checkManageUsersPermission("get the credential owner"); final long identity = Binder.clearCallingIdentity(); try { if (!mLockPatternUtils.isSeparateProfileChallengeEnabled(userId)) { synchronized (mUsersLock) { UserInfo profileParent = getProfileParentLU(userId); Loading @@ -1720,7 +1722,9 @@ public class UserManagerService extends IUserManager.Stub { } } } } finally { Binder.restoreCallingIdentity(identity); } return userId; } Loading