Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab085c63 authored by Adam Bookatz's avatar Adam Bookatz
Browse files

UserController.shouldConfirmCredentials uses isCredentialSharedWithParent

Instead of checking isManagedProfile, it should really be checking isCredentialSharedWithParent.

Change-Id: Ibaa9a3195d74b568ba37d1ca108fef29f1203a38
Test: Compiles
Bug: 219838311
parent cafcc80f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)) {