Merge "QS: Only show summary for active wifi" into mnc-dev
This commit is contained in:
@@ -326,7 +326,7 @@ public class WifiTile extends QSTile<QSTile.SignalState> {
|
|||||||
item.tag = ap;
|
item.tag = ap;
|
||||||
item.icon = mWifiController.getIcon(ap);
|
item.icon = mWifiController.getIcon(ap);
|
||||||
item.line1 = ap.getSsid();
|
item.line1 = ap.getSsid();
|
||||||
item.line2 = ap.getSummary();
|
item.line2 = ap.isActive() ? ap.getSummary() : null;
|
||||||
item.overlay = ap.getSecurity() != AccessPoint.SECURITY_NONE
|
item.overlay = ap.getSecurity() != AccessPoint.SECURITY_NONE
|
||||||
? mContext.getDrawable(R.drawable.qs_ic_wifi_lock)
|
? mContext.getDrawable(R.drawable.qs_ic_wifi_lock)
|
||||||
: null;
|
: null;
|
||||||
|
|||||||
Reference in New Issue
Block a user