[Output Switcher] Cancel device icon outline
Bug: 203071939 Test: test on device Change-Id: Icc7297a5d1f30ad22d4434c515f345794e70aedc
This commit is contained in:
@@ -62,7 +62,7 @@ public class BluetoothMediaDevice extends MediaDevice {
|
||||
if (!(drawable instanceof BitmapDrawable)) {
|
||||
setColorFilter(drawable);
|
||||
}
|
||||
return BluetoothUtils.buildAdvancedDrawable(mContext, drawable);
|
||||
return drawable;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -29,7 +29,6 @@ import android.media.MediaRouter2Manager;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.settingslib.R;
|
||||
import com.android.settingslib.bluetooth.BluetoothUtils;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -61,7 +60,7 @@ public class InfoMediaDevice extends MediaDevice {
|
||||
public Drawable getIcon() {
|
||||
final Drawable drawable = getIconWithoutBackground();
|
||||
setColorFilter(drawable);
|
||||
return BluetoothUtils.buildAdvancedDrawable(mContext, drawable);
|
||||
return drawable;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -32,7 +32,6 @@ import android.media.MediaRouter2Manager;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.settingslib.R;
|
||||
import com.android.settingslib.bluetooth.BluetoothUtils;
|
||||
|
||||
/**
|
||||
* PhoneMediaDevice extends MediaDevice to represents Phone device.
|
||||
@@ -87,7 +86,7 @@ public class PhoneMediaDevice extends MediaDevice {
|
||||
public Drawable getIcon() {
|
||||
final Drawable drawable = getIconWithoutBackground();
|
||||
setColorFilter(drawable);
|
||||
return BluetoothUtils.buildAdvancedDrawable(mContext, drawable);
|
||||
return drawable;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user