Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac9984d8 authored by shaoweishen's avatar shaoweishen
Browse files

[Output Switcher] Cancel device icon outline

Bug: 203071939
Test: test on device
Change-Id: Icc7297a5d1f30ad22d4434c515f345794e70aedc
parent 05c87f76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ public class BluetoothMediaDevice extends MediaDevice {
        if (!(drawable instanceof BitmapDrawable)) {
            setColorFilter(drawable);
        }
        return BluetoothUtils.buildAdvancedDrawable(mContext, drawable);
        return drawable;
    }

    @Override
+1 −2
Original line number Diff line number Diff line
@@ -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
+1 −2
Original line number Diff line number Diff line
@@ -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