summaryrefslogtreecommitdiffstats
path: root/src/com/android/contacts/common/MoreContactUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/contacts/common/MoreContactUtils.java')
-rw-r--r--src/com/android/contacts/common/MoreContactUtils.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/contacts/common/MoreContactUtils.java b/src/com/android/contacts/common/MoreContactUtils.java
index 75e9b255..f72507a3 100644
--- a/src/com/android/contacts/common/MoreContactUtils.java
+++ b/src/com/android/contacts/common/MoreContactUtils.java
@@ -879,8 +879,7 @@ public class MoreContactUtils {
}
MSimTelephonyManager stm = getMSimTelephonyManager();
if (stm.isMultiSimEnabled()) {
- return Settings.Global.getSimNameForSubscription(context, subscription,
- context.getString(R.string.account_sim) + " " + (subscription + 1));
+ return stm.getFormattedSimName(context, subscription);
}
return context.getString(R.string.account_sim);