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

Commit 018da51f authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Łukasz Rymanowski (xWF)
Browse files

BluetoothLeAudio: Deprecated location invalid

As per new Bluetooth Assigned Number, there is no more invalid
location.

Bug: 330847930
Bug: 331139722
Test: mmm packages/modules/Bluetooth
Flag: com::android::bluetooth:flags::leaudio_mono_location_errata

Change-Id: Id5904e8c96be6095e8b528f05f294c60e2217ccd
parent 893fdced
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -479,7 +479,7 @@ package android.bluetooth {
    field public static final int AUDIO_LOCATION_FRONT_RIGHT = 2; // 0x2
    field public static final int AUDIO_LOCATION_FRONT_RIGHT_OF_CENTER = 128; // 0x80
    field public static final int AUDIO_LOCATION_FRONT_RIGHT_WIDE = 33554432; // 0x2000000
    field public static final int AUDIO_LOCATION_INVALID = 0; // 0x0
    field @Deprecated @FlaggedApi("com.android.bluetooth.flags.leaudio_mono_location_errata") public static final int AUDIO_LOCATION_INVALID = 0; // 0x0
    field public static final int AUDIO_LOCATION_LEFT_SURROUND = 67108864; // 0x4000000
    field public static final int AUDIO_LOCATION_LOW_FREQ_EFFECTS_ONE = 8; // 0x8
    field public static final int AUDIO_LOCATION_LOW_FREQ_EFFECTS_TWO = 512; // 0x200
+6 −1
Original line number Diff line number Diff line
@@ -363,9 +363,14 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable {
    /**
     * This represents an invalid audio location.
     *
     * @deprecated As per Bluetooth Assigned Numbers, previously location invalid is now replaced
     *     with a meaning MONO.
     * @hide
     */
    @SystemApi public static final int AUDIO_LOCATION_INVALID = 0;
    @FlaggedApi(Flags.FLAG_LEAUDIO_MONO_LOCATION_ERRATA)
    @Deprecated
    @SystemApi
    public static final int AUDIO_LOCATION_INVALID = 0;

    /**
     * This represents an Mono audio location.