UserController.shouldConfirmCredentials uses isCredentialSharedWithParent
Instead of checking isManagedProfile, it should really be checking isCredentialSharedWithParent. Change-Id: Ibaa9a3195d74b568ba37d1ca108fef29f1203a38 Test: Compiles Bug: 219838311
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user