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

Commit 9de69724 authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

SystemUI: Fix missing context var



Change-Id: I083f85fdfec2bde88e6d8e0366d94e86eaea20cd
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent 94663790
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1088,7 +1088,7 @@ public class NetworkController extends BroadcastReceiver {
                }
            } else {
                mobileLabel
                    = context.getString(R.string.status_bar_settings_signal_meter_disconnected);
                    = mContext.getString(R.string.status_bar_settings_signal_meter_disconnected);
            }

            // Now for things that should only be shown when actually using mobile data.
@@ -1120,7 +1120,7 @@ public class NetworkController extends BroadcastReceiver {

        if (mWifiConnected) {
            if (mWifiSsid == null) {
                wifiLabel = context.getString(R.string.status_bar_settings_signal_meter_wifi_nossid);
                wifiLabel = mContext.getString(R.string.status_bar_settings_signal_meter_wifi_nossid);
                mWifiActivityIconId = 0; // no wifis, no bits
            } else {
                wifiLabel = mWifiSsid;
@@ -1151,7 +1151,7 @@ public class NetworkController extends BroadcastReceiver {
            if (mHasMobileDataFeature) {
                wifiLabel = "";
            } else {
                wifiLabel = context.getString(R.string.status_bar_settings_signal_meter_disconnected);
                wifiLabel = mContext.getString(R.string.status_bar_settings_signal_meter_disconnected);
            }
        }

@@ -1187,7 +1187,7 @@ public class NetworkController extends BroadcastReceiver {
                    // let the mobile icon show "No internet connection."
                    wifiLabel = "";
                } else {
                    wifiLabel = context.getString(R.string.status_bar_settings_signal_meter_disconnected);
                    wifiLabel = mContext.getString(R.string.status_bar_settings_signal_meter_disconnected);
                    combinedLabel = wifiLabel;
                }
                mContentDescriptionCombinedSignal = mContentDescriptionPhoneSignal;
@@ -1197,7 +1197,7 @@ public class NetworkController extends BroadcastReceiver {
                && !mWimaxConnected && !mEtherConnected) {
            // pretty much totally disconnected

            combinedLabel = context.getString(R.string.status_bar_settings_signal_meter_disconnected);
            combinedLabel = mContext.getString(R.string.status_bar_settings_signal_meter_disconnected);
            // On devices without mobile radios, we want to show the wifi icon
            combinedSignalIconId =
                mHasMobileDataFeature ? mDataSignalIconId : mWifiIconId;