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

Commit 79b6413f 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 am: 737945fb

am: 023c48e9

Change-Id: I56bb5b63464eadce740708f03b8ca0b49f9be133
parents 3cefe0e2 023c48e9
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;