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

Commit e1b91499 authored by razorloves's avatar razorloves Committed by Steve Kondik
Browse files

Correct the lockscreen carrier text case

The carrier text is no longer set to all caps in AOSP

Change-Id: I6a28a2d54a3b748f418af9f867b8be562911ef59
parent 3fe16ef8
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -147,18 +147,11 @@ public class CarrierText extends LinearLayout {
                com.android.internal.R.string.lockscreen_airplane_mode_on);
        CharSequence text = getCarrierTextForSimState(simState, plmn, spn);
        TextView updateCarrierView = mOperatorName[phoneId];
        if (mContext.getResources().getBoolean(R.bool.kg_use_all_caps)) {
            if (mAirplaneModeText != null && mShowAPM) {
                mAirplaneModeText.setText(airplaneMode.toUpperCase());
            }
            updateCarrierView.setText(text != null ? text.toString().toUpperCase() : null);
        } else {
        if (mAirplaneModeText != null && mShowAPM) {
            mAirplaneModeText.setText(airplaneMode);
        }
        updateCarrierView.setText(text != null ? text.toString() : null);
    }
    }

    @Override
    protected void onFinishInflate() {