Merge "Fixed missing sim card lock setup in Security Settings." into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b57e1f2964
@@ -379,7 +379,7 @@ public class SecuritySettings extends SettingsPreferenceFragment
|
|||||||
|
|
||||||
if (subInfoList != null) {
|
if (subInfoList != null) {
|
||||||
for (SubscriptionInfo subInfo : subInfoList) {
|
for (SubscriptionInfo subInfo : subInfoList) {
|
||||||
if (tm.hasIccCard(subInfo.getSubscriptionId())) {
|
if (tm.hasIccCard(subInfo.getSimSlotIndex())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user