diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2013-08-12 00:04:33 +0200 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2013-08-12 01:30:40 +0200 |
commit | af153914c7b19b02152607c0239a61eb746b78ed (patch) | |
tree | d3087e5315b93c85bee34ab706bdc30cd8a47b42 /packages | |
parent | a92c2e689de1d66817736726b6043f2125826bc3 (diff) | |
download | frameworks_base-af153914c7b19b02152607c0239a61eb746b78ed.zip frameworks_base-af153914c7b19b02152607c0239a61eb746b78ed.tar.gz frameworks_base-af153914c7b19b02152607c0239a61eb746b78ed.tar.bz2 |
SystemUI: Fix missing context var
Change-Id: I083f85fdfec2bde88e6d8e0366d94e86eaea20cd
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
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; |