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

Commit 8f205523 authored by LuK1337's avatar LuK1337 Committed by Gerrit Code Review
Browse files

SystemUI: Fix NPE when setting network name

Change-Id: I124f86493e013d0b30d520cf988c5804a39d8a0a
parent d796f08b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -625,7 +625,7 @@ public class MobileSignalController extends SignalController<
            mCurrentState.networkName = mServiceState.getOperatorAlphaShort();
        }

        if (!showLongOperatorName()) {
        if (!showLongOperatorName() && mServiceState != null) {
            mCurrentState.networkNameData = TextUtils.isEmpty(mServiceState.
                    getOperatorAlphaShort()) ? mCurrentState.networkNameData : mServiceState.
                    getOperatorAlphaShort() + " " + getNetworkClassString(mServiceState);