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

Commit f3866d67 authored by Eric's avatar Eric
Browse files

Fix systemui crash on boot

The process com.android.systemui would crash after phone booting with a
java.lang.NullPointerException when the signal status style is set to text

Change-Id: Ia7b58fa93b8591d0571b90a57a2fe0fe823b3f45
parent 8f754f51
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -67,6 +67,9 @@ public class SignalClusterTextView extends LinearLayout implements
    }

    private void updateSignalText() {
        if (mMobileSignalText == null) {
            return;
        }
        if (mAirplaneMode || mDBm == 0) {
            setVisibility(View.GONE);
        } else if (mSignalClusterStyle == SignalClusterView.STYLE_TEXT) {