summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothCodecConfig.java
diff options
context:
space:
mode:
authorWilliam Escande <wescande@google.com>2022-01-27 13:42:05 +0100
committerWilliam Escande <wescande@google.com>2022-02-01 19:39:31 +0100
commit5d864a4bd6c2ef0f0f994d3a81d0c7a69f7a69d5 (patch)
tree8efa9e57179069d63fc0230ee8a6aea503075e38 /framework/java/android/bluetooth/BluetoothCodecConfig.java
parenta28ecdcabcada4f9bc63ca990c61276f2d17bb36 (diff)
API Changes needed for apex to build
Bug: 216476895 Test: Compile Tag: #refactor Ignore-AOSP-First: AOSP will be updated later Change-Id: I09108622038b174104457ca18ac6ec7949978f66 CTS-Coverage-Bug: 217352944
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothCodecConfig.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothCodecConfig.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothCodecConfig.java b/framework/java/android/bluetooth/BluetoothCodecConfig.java
index 2ee171b996..098605b799 100644
--- a/framework/java/android/bluetooth/BluetoothCodecConfig.java
+++ b/framework/java/android/bluetooth/BluetoothCodecConfig.java
@@ -19,6 +19,7 @@ package android.bluetooth;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
+import android.annotation.SystemApi;
import android.compat.annotation.UnsupportedAppUsage;
import android.os.Parcel;
import android.os.Parcelable;
@@ -493,6 +494,7 @@ public final class BluetoothCodecConfig implements Parcelable {
* @return {@code true} if the codec is mandatory, {@code false} otherwise
* @hide
*/
+ @SystemApi
public boolean isMandatoryCodec() {
return mCodecType == SOURCE_CODEC_TYPE_SBC;
}