Merge "UserController.shouldConfirmCredentials uses isCredentialSharedWithParent" into tm-dev am: ca989e8921
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17004854 Change-Id: If269dc24d34b1d998be16ecd4e573562e3408d9a
This commit is contained in:
@@ -2613,7 +2613,7 @@ class UserController implements Handler.Callback {
|
|||||||
if (getStartedUserState(userId) == null) {
|
if (getStartedUserState(userId) == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!getUserInfo(userId).isManagedProfile()) {
|
if (!mInjector.getUserManager().isCredentialSharedWithParent(userId)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (mLockPatternUtils.isSeparateProfileChallengeEnabled(userId)) {
|
if (mLockPatternUtils.isSeparateProfileChallengeEnabled(userId)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user