diff options
-rw-r--r-- | framework/api/current.txt | 1 | ||||
-rw-r--r-- | framework/java/android/bluetooth/BluetoothCodecType.java | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/framework/api/current.txt b/framework/api/current.txt index b37d8becf5..9ce8f7709f 100644 --- a/framework/api/current.txt +++ b/framework/api/current.txt @@ -508,6 +508,7 @@ package android.bluetooth { field public static final long CODEC_ID_APTX = 16797695L; // 0x1004fffL field public static final long CODEC_ID_APTX_HD = 604035071L; // 0x2400d7ffL field public static final long CODEC_ID_LDAC = -1442763265L; // 0xffffffffaa012dffL + field @FlaggedApi("com.android.bluetooth.flags.a2dp_lhdc_api") public static final long CODEC_ID_LHDCV5 = 327307049727L; // 0x4c35053affL field public static final long CODEC_ID_OPUS = 16834815L; // 0x100e0ffL field public static final long CODEC_ID_SBC = 0L; // 0x0L field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothCodecType> CREATOR; diff --git a/framework/java/android/bluetooth/BluetoothCodecType.java b/framework/java/android/bluetooth/BluetoothCodecType.java index bcac9c5c41..6bd5045c56 100644 --- a/framework/java/android/bluetooth/BluetoothCodecType.java +++ b/framework/java/android/bluetooth/BluetoothCodecType.java @@ -16,6 +16,7 @@ package android.bluetooth; +import android.annotation.FlaggedApi; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SystemApi; @@ -62,6 +63,10 @@ public final class BluetoothCodecType implements Parcelable { /** Opus codec identifier. See {@link BluetoothCodecType#getCodecId}. */ public static final long CODEC_ID_OPUS = 0x000100e0ff; + /** LHDC codec identifier. See {@link BluetoothCodecType#getCodecId}. */ + @FlaggedApi(Flags.FLAG_A2DP_LHDC_API) + public static final long CODEC_ID_LHDCV5 = 0x4c35_053a_ffL; + /** * Create the bluetooth codec type from the static codec type index. * |