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

Commit a168cf3a authored by Łukasz Rymanowski (xWF)'s avatar Łukasz Rymanowski (xWF) Committed by Gerrit Code Review
Browse files

Merge "BluetoothLeAudio: Deprecated location invalid" into main

parents 704c5bd7 018da51f
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.