Merge "Add handling of permanent disabled sims" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9028f28e51
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user