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

Commit 801ade0f authored by Joe Onorato's avatar Joe Onorato
Browse files

Don't crash if we haven't gotten a signal strength yet.

Bug: 3198447
Change-Id: I645b484eadfff6ed34517571b0c6fea3057ec563
parent abb27777
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -321,7 +321,9 @@ public class NetworkController extends BroadcastReceiver {
                mPhoneSignalIconId = R.drawable.stat_sys_signal_null;
            }
        } else {
            if (isCdma()) {
            if (mSignalStrength == null) {
                mPhoneSignalIconId = R.drawable.stat_sys_signal_null;
            } else if (isCdma()) {
                // If 3G(EV) and 1x network are available than 3G should be
                // displayed, displayed RSSI should be from the EV side.
                // If a voice call is made then RSSI should switch to 1x.