Merge "Remove settings gear icon from connected network in Wi-Fi slice"

This commit is contained in:
TreeHugger Robot
2019-03-08 16:28:54 +00:00
committed by Android (Google) Code Review

View File

@@ -198,7 +198,7 @@ public class WifiSlice implements CustomSliceable {
private IconCompat getEndIcon(AccessPoint accessPoint) {
if (accessPoint.isActive()) {
return IconCompat.createWithResource(mContext, R.drawable.ic_settings_accent);
return null;
} else if (accessPoint.getSecurity() != AccessPoint.SECURITY_NONE) {
return IconCompat.createWithResource(mContext, R.drawable.ic_friction_lock_closed);
} else if (accessPoint.isMetered()) {