diff options
author | Jason Monk <jmonk@google.com> | 2015-05-26 12:54:12 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-05-26 12:54:12 -0400 |
commit | 283c8b72aa6f72431d0684972782bac667e19617 (patch) | |
tree | 4ee2ca5fa885eb4722e0247f3ea65b6e4ad1d336 /packages/SystemUI | |
parent | 327c364113c18c9d5a05df0c912b65788461da41 (diff) | |
download | frameworks_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')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java | 2 |
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; |