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

Commit d8cf30a6 authored by SongFerng Wang's avatar SongFerng Wang Committed by Android (Google) Code Review
Browse files

Merge "[Unicast] Update the icons in LEA device settings"

parents 31db653b 8b290950
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -275,7 +275,15 @@ public class LeAudioProfile implements LocalBluetoothProfile {
    }

    public int getDrawableResource(BluetoothClass btClass) {
        switch (btClass.getDeviceClass()) {
            case BluetoothClass.Device.AUDIO_VIDEO_UNCATEGORIZED:
            case BluetoothClass.Device.AUDIO_VIDEO_WEARABLE_HEADSET:
            case BluetoothClass.Device.AUDIO_VIDEO_MICROPHONE:
            case BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES:
                return R.drawable.ic_bt_le_audio;
            default:
                return R.drawable.ic_bt_le_audio_speakers;
        }
    }

    public int getAudioLocation(BluetoothDevice device) {