From 283c8b72aa6f72431d0684972782bac667e19617 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Tue, 26 May 2015 12:54:12 -0400 Subject: QS: Only show summary for active wifi Bug: 20432208 Change-Id: Iedf6e4d102e64c53a633f8d377b5eb57768b1f17 --- packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/SystemUI/src/com/android') 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 { 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; -- cgit v1.1