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

Commit 2296d78a authored by Jason Hsu's avatar Jason Hsu Committed by Android (Google) Code Review
Browse files

Merge "Clean up logic to not support 'ASHA' profile for 'Spatial Audio'" into main

parents e8d0c310 efc1188e
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -1154,7 +1154,7 @@ public class BluetoothUtils {

    /**
     * Gets {@link AudioDeviceAttributes} of bluetooth device for spatial audio. Returns null if
     * it's not an audio device(no A2DP, LE Audio and Hearing Aid profile).
     * it's not an audio device(no A2DP and LE Audio).
     */
    @Nullable
    public static AudioDeviceAttributes getAudioDeviceAttributesForSpatialAudio(
@@ -1189,13 +1189,6 @@ public class BluetoothUtils {
                        }

                        break;
                    case BluetoothProfile.HEARING_AID:
                        saDevice =
                                new AudioDeviceAttributes(
                                        AudioDeviceAttributes.ROLE_OUTPUT,
                                        AudioDeviceInfo.TYPE_HEARING_AID,
                                        cachedDevice.getAddress());
                        break;
                    default:
                        Log.i(
                                TAG,