Merge "Add handling of permanent disabled sims" am: 62434fd9fe

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

Change-Id: Ib5a337286dcdec16be083d92c072e100a0efca70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-05-03 19:43:44 +00:00
committed by Automerger Merge Worker

View File

@@ -1928,6 +1928,8 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
state = TelephonyManager.SIM_STATE_PIN_REQUIRED;
} else if (Intent.SIM_LOCKED_ON_PUK.equals(lockedReason)) {
state = TelephonyManager.SIM_STATE_PUK_REQUIRED;
} else if (Intent.SIM_ABSENT_ON_PERM_DISABLED.equals(lockedReason)) {
state = TelephonyManager.SIM_STATE_PERM_DISABLED;
} else {
state = TelephonyManager.SIM_STATE_UNKNOWN;
}