summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-05-26 12:54:12 -0400
committerJason Monk <jmonk@google.com>2015-05-26 12:54:12 -0400
commit283c8b72aa6f72431d0684972782bac667e19617 (patch)
tree4ee2ca5fa885eb4722e0247f3ea65b6e4ad1d336 /packages/SystemUI/src
parent327c364113c18c9d5a05df0c912b65788461da41 (diff)
downloadframeworks_base-283c8b72aa6f72431d0684972782bac667e19617.zip
frameworks_base-283c8b72aa6f72431d0684972782bac667e19617.tar.gz
frameworks_base-283c8b72aa6f72431d0684972782bac667e19617.tar.bz2
QS: Only show summary for active wifi
Bug: 20432208 Change-Id: Iedf6e4d102e64c53a633f8d377b5eb57768b1f17
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java
index 9504ea3..9bc5b75 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java
@@ -326,7 +326,7 @@ public class WifiTile extends QSTile<QSTile.SignalState> {
item.tag = ap;
item.icon = mWifiController.getIcon(ap);
item.line1 = ap.getSsid();
- item.line2 = ap.getSummary();
+ item.line2 = ap.isActive() ? ap.getSummary() : null;
item.overlay = ap.getSecurity() != AccessPoint.SECURITY_NONE
? mContext.getDrawable(R.drawable.qs_ic_wifi_lock)
: null;