Merge "Remove settings gear icon from connected network in Wi-Fi slice"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2f825120b0
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user