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

Commit bad724c3 authored by Beena More's avatar Beena More Committed by Steve Kondik
Browse files

Telephony: Fix System UI crash

Adding null pointer check to update icons.

CRs-Fixed: 744626

Change-Id: If9b984d39647d315ebac9bb5f416a5472821462b
parent 5b4c495b
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