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

Commit 69bc2560 authored by Jordan Liu's avatar Jordan Liu Committed by Luca Stefani
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)
(cherry picked from commit 4d12c537)
parent cc8834ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -508,7 +508,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;
                        eventSubtype = BOUNCER_DISMISS_SIM;