diff options
author | William Escande <wescande@google.com> | 2022-01-27 13:42:05 +0100 |
---|---|---|
committer | William Escande <wescande@google.com> | 2022-02-14 14:55:17 +0100 |
commit | 3f38e428430389fdfdf2475e62168aa72194ba8e (patch) | |
tree | 3498eb73a5cc49e5fed4396ff80da07759b07342 /framework/java/android/bluetooth/BluetoothDevicePicker.java | |
parent | 61713020f5182615992661b1d18758a23b2639f9 (diff) |
API Changes needed for apex to build
internal cherry-pick
Bug: 216476895
Test: Compile
Tag: #refactor
Change-Id: I09108622038b174104457ca18ac6ec7949978f66
Merged-In: I09108622038b174104457ca18ac6ec7949978f66
CTS-Coverage-Bug: 217352944
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevicePicker.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothDevicePicker.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevicePicker.java b/framework/java/android/bluetooth/BluetoothDevicePicker.java index 26e46573dd..d17ab8d72a 100644 --- a/framework/java/android/bluetooth/BluetoothDevicePicker.java +++ b/framework/java/android/bluetooth/BluetoothDevicePicker.java @@ -19,6 +19,8 @@ package android.bluetooth; import android.annotation.RequiresPermission; import android.annotation.SdkConstant; import android.annotation.SdkConstant.SdkConstantType; +import android.annotation.SuppressLint; +import android.annotation.SystemApi; import android.bluetooth.annotations.RequiresBluetoothConnectPermission; /** @@ -26,13 +28,18 @@ import android.bluetooth.annotations.RequiresBluetoothConnectPermission; * * @hide */ +@SystemApi public interface BluetoothDevicePicker { + @SuppressLint("ActionValue") public static final String EXTRA_NEED_AUTH = "android.bluetooth.devicepicker.extra.NEED_AUTH"; + @SuppressLint("ActionValue") public static final String EXTRA_FILTER_TYPE = "android.bluetooth.devicepicker.extra.FILTER_TYPE"; + @SuppressLint("ActionValue") public static final String EXTRA_LAUNCH_PACKAGE = "android.bluetooth.devicepicker.extra.LAUNCH_PACKAGE"; + @SuppressLint("ActionValue") public static final String EXTRA_LAUNCH_CLASS = "android.bluetooth.devicepicker.extra.DEVICE_PICKER_LAUNCH_CLASS"; @@ -44,6 +51,7 @@ public interface BluetoothDevicePicker { @RequiresBluetoothConnectPermission @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) + @SuppressLint("ActionValue") public static final String ACTION_DEVICE_SELECTED = "android.bluetooth.devicepicker.action.DEVICE_SELECTED"; @@ -61,6 +69,7 @@ public interface BluetoothDevicePicker { @RequiresBluetoothConnectPermission @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) + @SuppressLint("ActionValue") public static final String ACTION_LAUNCH = "android.bluetooth.devicepicker.action.LAUNCH"; |