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

Commit 0be0b9b7 authored by Jordan Liu's avatar Jordan Liu
Browse files

Fix sim pin on DSDS

Fixes the issue where only one SIM's PIN is checked when unlocking.

Test: manual
Bug: 135496265
Merged-In: I8db4565c4e5d5bcfb166b5962e878531a84dbafb
Change-Id: I8db4565c4e5d5bcfb166b5962e878531a84dbafb
(cherry picked from commit 560fe75f696c262fbe12985fe379c1b0868f348c)
parent 79a2b521
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -340,7 +340,7 @@ 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())) {
                        finish = true;
                    } else {