summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothHeadset.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/BluetoothHeadset.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/BluetoothHeadset.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothHeadset.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothHeadset.java b/framework/java/android/bluetooth/BluetoothHeadset.java
index b7c9136071..4e57c59643 100644
--- a/framework/java/android/bluetooth/BluetoothHeadset.java
+++ b/framework/java/android/bluetooth/BluetoothHeadset.java
@@ -122,11 +122,12 @@ public final class BluetoothHeadset implements BluetoothProfile {
*
* @hide
*/
+ @SystemApi
@RequiresLegacyBluetoothPermission
@RequiresBluetoothConnectPermission
@RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
- @UnsupportedAppUsage(trackingBug = 171933273)
+ @SuppressLint("ActionValue")
public static final String ACTION_ACTIVE_DEVICE_CHANGED =
"android.bluetooth.headset.profile.action.ACTIVE_DEVICE_CHANGED";