Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18062f81 authored by Zoey Chen's avatar Zoey Chen Committed by Android (Google) Code Review
Browse files

Merge "[Provider Model] The carrier name of the "Turn off mobile data" is wrong." into sc-qpr1-dev

parents e229a828 3502b01b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -486,8 +486,7 @@ public class InternetDialog extends SystemUIDialog implements
    }

    private void showTurnOffMobileDialog() {
        CharSequence carrierName =
                mSubscriptionManager.getDefaultDataSubscriptionInfo().getCarrierName();
        CharSequence carrierName = getMobileNetworkTitle();
        boolean isInService = mInternetDialogController.isVoiceStateInService();
        if (TextUtils.isEmpty(carrierName) || !isInService) {
            carrierName = mContext.getString(R.string.mobile_data_disable_message_default_carrier);