summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothCodecConfig.java
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-10 02:08:55 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-10 02:08:55 +0000
commit6c897e526322043f504c6a3ff9fd4524f3f59d4b (patch)
tree607f486e863b394d5f21a3d663166b574fa50fc4 /framework/java/android/bluetooth/BluetoothCodecConfig.java
parent22389fee67a014fed221aadadcfbc1dc9cd7335f (diff)
parentc57caf832c63ec30ae148306bb2cb6a74c8d6c38 (diff)
Snap for 8283941 from c57caf832c63ec30ae148306bb2cb6a74c8d6c38 to tm-release
Change-Id: Ie94c30dbf9631f5da2c918ef051c8ecdb9825395
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothCodecConfig.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothCodecConfig.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/java/android/bluetooth/BluetoothCodecConfig.java b/framework/java/android/bluetooth/BluetoothCodecConfig.java
index 91e234aaaf..d0e426853c 100644
--- a/framework/java/android/bluetooth/BluetoothCodecConfig.java
+++ b/framework/java/android/bluetooth/BluetoothCodecConfig.java
@@ -19,7 +19,6 @@ 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;
@@ -272,6 +271,7 @@ public final class BluetoothCodecConfig implements Parcelable {
* values to 0.
*
* @param codecType the source codec type
+ * @hide
*/
public BluetoothCodecConfig(@SourceCodecType int codecType) {
this(codecType, BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT,
@@ -484,9 +484,7 @@ public final class BluetoothCodecConfig implements Parcelable {
* See {@link #SOURCE_CODEC_TYPE_SBC}.
*
* @return {@code true} if the codec is mandatory, {@code false} otherwise
- * @hide
*/
- @SystemApi
public boolean isMandatoryCodec() {
return mCodecType == SOURCE_CODEC_TYPE_SBC;
}