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

Commit deb1e687 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Update Signal Strength on sim state change." into LA.BR.1.2.3

parents cb36f09e f8b05126
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -814,6 +814,7 @@ public class NetworkControllerImpl extends BroadcastReceiver

        if (DEBUG) Log.d(TAG, "updateSimState: mSimState=" + mSimState);
        updateSimIcon();
        updateTelephonySignalStrength();
    }

    private boolean isCdma() {
@@ -859,8 +860,9 @@ public class NetworkControllerImpl extends BroadcastReceiver
            Log.d(TAG, "updateTelephonySignalStrength: hasService=" + hasService()
                    + " ss=" + mSignalStrength);
        }
        if (!hasService() &&
              (mDataServiceState != ServiceState.STATE_IN_SERVICE)) {
        if ((!hasService() &&
              (mDataServiceState != ServiceState.STATE_IN_SERVICE)) ||
              mSimState == IccCardConstants.State.ABSENT) {
            if (CHATTY) Log.d(TAG, "updateTelephonySignalStrength: No Service");
            mPhoneSignalIconId = TelephonyIcons.getSignalNullIcon();
            mQSPhoneSignalIconId = R.drawable.ic_qs_signal_no_signal;