summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java b/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
index 255cbad..a0a4312 100644
--- a/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
+++ b/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
@@ -396,7 +396,10 @@ public class ChooseDataSimPage extends SetupPage {
private void updateCarrierText(SubscriptionInfo subInfoRecord) {
if (mIsAttached) {
- String name = mPhone.getNetworkOperatorName(subInfoRecord.getSubscriptionId());
+ String name = mPhone.getSimOperatorNameForSubscription(subInfoRecord.getSubscriptionId());
+ if (TextUtils.isEmpty(name)) {
+ name = mPhone.getNetworkOperatorName(subInfoRecord.getSubscriptionId());
+ }
ServiceState serviceState = mServiceStates.get(subInfoRecord.getSimSlotIndex());
final int slot = subInfoRecord.getSimSlotIndex();
final View v = mRows.get(slot);