summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothHeadsetClient.java
diff options
context:
space:
mode:
authorSal Savage <salsavage@google.com>2022-02-08 16:03:37 -0800
committerSal Savage <salsavage@google.com>2022-02-28 17:47:58 +0000
commit1835c3555f777d5ff954a525dde4a86a6228ecb4 (patch)
tree53294121427fcd5abb9d0394a4f1f921e4261914 /framework/java/android/bluetooth/BluetoothHeadsetClient.java
parentd4bcf55d2b4d6d51fbdb58b566faac589af96c42 (diff)
Remove newly introduced audio state APIs that shouldn't be public
Bug: 216476895 Test: make -j Change-Id: If3cfdf8f063f61e3903d4e7a3c289c2ef7a54b34
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHeadsetClient.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothHeadsetClient.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/framework/java/android/bluetooth/BluetoothHeadsetClient.java b/framework/java/android/bluetooth/BluetoothHeadsetClient.java
index f1402d485d..d5faa50932 100644
--- a/framework/java/android/bluetooth/BluetoothHeadsetClient.java
+++ b/framework/java/android/bluetooth/BluetoothHeadsetClient.java
@@ -102,7 +102,6 @@ public final class BluetoothHeadsetClient implements BluetoothProfile, AutoClose
*
* @hide
*/
- @SystemApi
@RequiresBluetoothConnectPermission
@RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
@@ -190,17 +189,14 @@ public final class BluetoothHeadsetClient implements BluetoothProfile, AutoClose
/**
* @hide
*/
- @SystemApi
public static final int STATE_AUDIO_DISCONNECTED = 0;
/**
* @hide
*/
- @SystemApi
public static final int STATE_AUDIO_CONNECTING = 1;
/**
* @hide
*/
- @SystemApi
public static final int STATE_AUDIO_CONNECTED = 2;
/**
* Extra with information if connected audio is WBS.