SubscriptionsPreferenceController shows the unique sim description.
Bug: 148303118 Bug: 150370656 Test: atest -c SubscriptionsPreferenceControllerTest Change-Id: I041536fe0148087a068c6000383b382b0ff4e17c
This commit is contained in:
@@ -117,10 +117,12 @@ public class SimActivationNotifier {
|
||||
return;
|
||||
}
|
||||
|
||||
CharSequence displayName = SubscriptionUtil.getUniqueSubscriptionDisplayName(
|
||||
activeRemovableSub, mContext);
|
||||
String carrierName =
|
||||
TextUtils.isEmpty(activeRemovableSub.getDisplayName())
|
||||
TextUtils.isEmpty(displayName)
|
||||
? mContext.getString(R.string.sim_card_label)
|
||||
: activeRemovableSub.getDisplayName().toString();
|
||||
: displayName.toString();
|
||||
String title =
|
||||
mContext.getString(
|
||||
R.string.post_dsds_reboot_notification_title_with_carrier, carrierName);
|
||||
|
Reference in New Issue
Block a user