summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/BluetoothMap.java
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-08-01 15:07:20 +0100
committerMathew Inwood <mathewi@google.com>2018-08-01 15:07:20 +0100
commit4dc66d3c582f05e72ea3b157883420f1ee07608c (patch)
treebe1e6189a0ad68acf65913f4807271e7ff964b0f /core/java/android/bluetooth/BluetoothMap.java
parentb6b8516ba0f44f2d234b825cc4d568c304e9f719 (diff)
Add @UnsupportedAppUsage annotations
For packages: android.bluetooth.le android.bluetooth This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: Ifcf24c0617acd7facc0e03f30a95c3a6b09b205c Merged-In: I88a1311e27c5f9a5f9d1035db76034f86f650efc
Diffstat (limited to 'core/java/android/bluetooth/BluetoothMap.java')
-rw-r--r--core/java/android/bluetooth/BluetoothMap.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/BluetoothMap.java b/core/java/android/bluetooth/BluetoothMap.java
index 5b55b23680c3..b82680c1cae9 100644
--- a/core/java/android/bluetooth/BluetoothMap.java
+++ b/core/java/android/bluetooth/BluetoothMap.java
@@ -16,6 +16,7 @@
package android.bluetooth;
+import android.annotation.UnsupportedAppUsage;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
@@ -233,6 +234,7 @@ public final class BluetoothMap implements BluetoothProfile {
* @param device Remote Bluetooth Device
* @return false on error, true otherwise
*/
+ @UnsupportedAppUsage
public boolean disconnect(BluetoothDevice device) {
if (DBG) log("disconnect(" + device + ")");
final IBluetoothMap service = mService;