Merge "Add handling of permanent disabled sims"
This commit is contained in:
@@ -1840,6 +1840,8 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
|
|||||||
state = TelephonyManager.SIM_STATE_PIN_REQUIRED;
|
state = TelephonyManager.SIM_STATE_PIN_REQUIRED;
|
||||||
} else if (Intent.SIM_LOCKED_ON_PUK.equals(lockedReason)) {
|
} else if (Intent.SIM_LOCKED_ON_PUK.equals(lockedReason)) {
|
||||||
state = TelephonyManager.SIM_STATE_PUK_REQUIRED;
|
state = TelephonyManager.SIM_STATE_PUK_REQUIRED;
|
||||||
|
} else if (Intent.SIM_ABSENT_ON_PERM_DISABLED.equals(lockedReason)) {
|
||||||
|
state = TelephonyManager.SIM_STATE_PERM_DISABLED;
|
||||||
} else {
|
} else {
|
||||||
state = TelephonyManager.SIM_STATE_UNKNOWN;
|
state = TelephonyManager.SIM_STATE_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user