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

Commit ae44434c authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "NetworkController: Hide signal strength icon when no SIM icon is shown" into cm-10.2

parents af64bc66 115150df
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -986,7 +986,11 @@ public class MSimNetworkController extends NetworkController {
            } else if (mPhone.isNetworkRoaming(subscription)) {
                mMSimDataTypeIconId[subscription] = R.drawable.stat_sys_data_connected_roam;
            }
        } else if (mMSimState[subscription] == IccCardConstants.State.ABSENT) {
            mMSimPhoneSignalIconId[subscription] = mMSimDataSignalIconId[subscription]
                    = mMSimDataTypeIconId[subscription] = 0;
        }

        if (DEBUG) {
            Slog.d(TAG, "refreshViews connected={"
                    + (mWifiConnected?" wifi":"")
+4 −0
Original line number Diff line number Diff line
@@ -1271,6 +1271,10 @@ public class NetworkController extends BroadcastReceiver {
                mDataTypeIconId = R.drawable.stat_sys_data_connected_roam;
                mQSDataTypeIconId = R.drawable.ic_qs_signal_r;
            }
        } else if (mSimState == IccCardConstants.State.ABSENT) {
            // look again; your radios are now sim cards
            mPhoneSignalIconId = mDataSignalIconId = mDataTypeIconId = mQSDataTypeIconId = 0;
            mQSPhoneSignalIconId = 0;
        }

        if (DEBUG) {