Merge "Device asks for PUK code instead of SIM PIN" am: 7cc71c632b am: 12526eb589

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2096721

Change-Id: I1c1436aa25e5bbf30f8391b9ef84ef953c0516e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Evan Laird
2023-05-05 15:17:11 +00:00
committed by Automerger Merge Worker

View File

@@ -52,7 +52,7 @@ public class KeyguardSimPinViewController
private ProgressDialog mSimUnlockProgressDialog;
private CheckSimPin mCheckSimPinThread;
private int mRemainingAttempts;
private int mRemainingAttempts = -1;
// Below flag is set to true during power-up or when a new SIM card inserted on device.
// When this is true and when SIM card is PIN locked state, on PIN lock screen, message would
// be displayed to inform user about the number of remaining PIN attempts left.