diff options
author | Irfan Sheriff <isheriff@google.com> | 2010-09-13 17:24:49 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-13 17:24:49 -0700 |
commit | 5c8e3b5e496c6c1da12a03ee2eb5cbb3e5bd6a5a (patch) | |
tree | f1df97d13121648b7d18fe2a842d1a43c9fd1cd3 /packages/SystemUI | |
parent | e746f03c6c8b8d0897d322ab524d545ace200fcd (diff) | |
parent | b62bc9632250f77d29baca54419442c8d3c965ef (diff) | |
download | frameworks_base-5c8e3b5e496c6c1da12a03ee2eb5cbb3e5bd6a5a.zip frameworks_base-5c8e3b5e496c6c1da12a03ee2eb5cbb3e5bd6a5a.tar.gz frameworks_base-5c8e3b5e496c6c1da12a03ee2eb5cbb3e5bd6a5a.tar.bz2 |
am b62bc963: am ab2ac887: Merge "Fix statusbar display of wifi signalstrength" into gingerbread
Merge commit 'b62bc9632250f77d29baca54419442c8d3c965ef'
* commit 'b62bc9632250f77d29baca54419442c8d3c965ef':
Fix statusbar display of wifi signalstrength
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/StatusBarPolicy.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarPolicy.java b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarPolicy.java index b4e0d3a..5dedcc9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarPolicy.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarPolicy.java @@ -718,7 +718,6 @@ public class StatusBarPolicy { iconId = sWifiSignalImages[mLastWifiInetConnectivityState] [mLastWifiSignalLevel]; } - mService.setIcon("wifi", iconId, 0); // Show the icon since wi-fi is connected mService.setIconVisibility("wifi", true); @@ -1101,7 +1100,7 @@ public class StatusBarPolicy { int iconId; final int newRssi = intent.getIntExtra(WifiManager.EXTRA_NEW_RSSI, -200); int newSignalLevel = WifiManager.calculateSignalLevel(newRssi, - sWifiSignalImages.length); + sWifiSignalImages[0].length); if (newSignalLevel != mLastWifiSignalLevel) { mLastWifiSignalLevel = newSignalLevel; if (mIsWifiConnected) { |