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

Commit 1e7484e7 authored by Beena More's avatar Beena More Committed by Linux Build Service Account
Browse files

Telephony: Fix System UI crash

Adding null pointer check to update icons.

CRs-Fixed: 744626

Change-Id: If9b984d39647d315ebac9bb5f416a5472821462b
parent ee971521
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -739,8 +739,8 @@ public class NetworkControllerImpl extends BroadcastReceiver
    }

    private void updateIconSet() {
        int voiceNetworkType = mServiceState.getVoiceNetworkType();
        int dataNetworkType =  mServiceState.getDataNetworkType();
        int voiceNetworkType = getVoiceNetworkType();
        int dataNetworkType =  getDataNetworkType();

        if (DEBUG) {
            Log.d(TAG, "updateIconSet, voice network type is: " + voiceNetworkType