diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java index 5966890..2e3191e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java @@ -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; |