Skip to content

Commit

Permalink
Merge "Disable "SIM card lock" when the SIM card is PUK-blocked"
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed May 10, 2022
2 parents 3671fb8 + 36c71e9 commit ab8bdb2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ private boolean isSimReady() {
for (SubscriptionInfo subInfo : subInfoList) {
final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex());
if ((simState != TelephonyManager.SIM_STATE_ABSENT)
&& (simState != TelephonyManager.SIM_STATE_UNKNOWN)) {
&& (simState != TelephonyManager.SIM_STATE_UNKNOWN)
&& (simState != TelephonyManager.SIM_STATE_PERM_DISABLED)) {
return true;
}
}
Expand Down

0 comments on commit ab8bdb2

Please sign in to comment.