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

Commit a1d5c2e1 authored by Rakesh Pallerla's avatar Rakesh Pallerla Committed by Gerrit - the friendly Code Review server
Browse files

Telephony: Compare PERSO Locked condition with proper parameter.

Modify code to compare PERSO locked with lockedReason instead of
state.

Change-Id: I2f6bf7aeb06b62f52aed4a13bcc0f3ad507a4bcc
CRs-Fixed: 627926
parent 1ef0a357
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -368,7 +368,7 @@ public class KeyguardUpdateMonitor {
                    state = IccCardConstants.State.PIN_REQUIRED;
                } else if (IccCardConstants.INTENT_VALUE_LOCKED_ON_PUK.equals(lockedReason)) {
                    state = IccCardConstants.State.PUK_REQUIRED;
                } else if (IccCardConstants.INTENT_VALUE_LOCKED_PERSO.equals(stateExtra)) {
                } else if (IccCardConstants.INTENT_VALUE_LOCKED_PERSO.equals(lockedReason)) {
                    state = IccCardConstants.State.PERSO_LOCKED;
                } else {
                    state = IccCardConstants.State.UNKNOWN;