Merge "Add handling of permanent disabled sims" into udc-dev am: 9028f28e51

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

Change-Id: Ib568e1e434850071f0d49e112a12ce07808a9fc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2023-06-14 16:16:01 +00:00
committed by Automerger Merge Worker

View File

@@ -2090,6 +2090,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;
}