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

Commit 737945fb authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Dismiss SIM lock page after correct SIM"

am: eb1d6d91

Change-Id: I01551d9d8e14e7a9bd4ef5178b571beee032735b
parents 47be78e5 eb1d6d91
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -342,12 +342,11 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
                case SimPuk:
                    // Shortcut for SIM PIN/PUK to go to directly to user's security screen or home
                    SecurityMode securityMode = mSecurityModel.getSecurityMode(targetUserId);
                    if (securityMode != SecurityMode.None
                            || !mLockPatternUtils.isLockScreenDisabled(
                    if (securityMode == SecurityMode.None || mLockPatternUtils.isLockScreenDisabled(
                            KeyguardUpdateMonitor.getCurrentUser())) {
                        showSecurityScreen(securityMode);
                    } else {
                        finish = true;
                    } else {
                        showSecurityScreen(securityMode);
                    }
                    break;