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

Commit af153914 authored by Jorge Ruesga's avatar Jorge Ruesga Committed by Arne Coucheron
Browse files

SystemUI: Fix missing context var



Change-Id: I083f85fdfec2bde88e6d8e0366d94e86eaea20cd
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent a92c2e68
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1064,7 +1064,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.
@@ -1096,7 +1096,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;
@@ -1127,7 +1127,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);
            }
        }

@@ -1163,7 +1163,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;
@@ -1173,7 +1173,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;