summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/sim/SimSettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/sim/SimSettings.java')
-rw-r--r--src/com/android/settings/sim/SimSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/sim/SimSettings.java b/src/com/android/settings/sim/SimSettings.java
index 7b2dd10..b8f34aa 100644
--- a/src/com/android/settings/sim/SimSettings.java
+++ b/src/com/android/settings/sim/SimSettings.java
@@ -573,7 +573,7 @@ public class SimSettings extends RestrictedSettingsFragment implements Indexable
mSubscriptionManager.getActiveSubscriptionInfoList();
if (subInfoLists != null) {
for (SubscriptionInfo subInfo : subInfoLists) {
- if (getProvisionStatus(mSir.getSimSlotIndex())
+ if (getProvisionStatus(subInfo.getSimSlotIndex())
== PROVISIONED) activeSubInfoCount++;
}
}