Merge "UserController.shouldConfirmCredentials uses isCredentialSharedWithParent" into tm-dev

This commit is contained in:
Adam Bookatz
2022-03-01 17:08:11 +00:00
committed by Android (Google) Code Review

View File

@@ -2613,7 +2613,7 @@ class UserController implements Handler.Callback {
if (getStartedUserState(userId) == null) {
return false;
}
if (!getUserInfo(userId).isManagedProfile()) {
if (!mInjector.getUserManager().isCredentialSharedWithParent(userId)) {
return false;
}
if (mLockPatternUtils.isSeparateProfileChallengeEnabled(userId)) {