aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothDevice.java
diff options
context:
space:
mode:
authorHansong Zhang <hsz@google.com>2018-11-12 14:32:03 -0800
committerHansong Zhang <hsz@google.com>2018-11-12 14:33:59 -0800
commit8d98726f7bcfa985b42772d330e208bcc0424040 (patch)
treead57dcff0a75f1519803c189501d33665821099e /framework/java/android/bluetooth/BluetoothDevice.java
parent2a2cd5db7bc3924c92fe75f53f8b848b1a6a3a86 (diff)
BluetoothDevice.ACTION_UUID requires BLUETOOTH_ADMIN
Fix the doc - intent BluetoothDevice.ACTION_UUID requries android.Manifest.permission#BLUETOOTH_ADMIN instead of #BLUETOOTH to receive. This is already enforced by Bluetooth service. Bug: 113160320 Test: manual Change-Id: I977d58e6d534f512da80bd6b13bebb515765626f
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevice.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothDevice.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevice.java b/framework/java/android/bluetooth/BluetoothDevice.java
index d9e6fa2038..b2b02850e2 100644
--- a/framework/java/android/bluetooth/BluetoothDevice.java
+++ b/framework/java/android/bluetooth/BluetoothDevice.java
@@ -347,7 +347,7 @@ public final class BluetoothDevice implements Parcelable {
* device are requested to be fetched using Service Discovery Protocol
* <p> Always contains the extra field {@link #EXTRA_DEVICE}
* <p> Always contains the extra field {@link #EXTRA_UUID}
- * <p>Requires {@link android.Manifest.permission#BLUETOOTH} to receive.
+ * <p>Requires {@link android.Manifest.permission#BLUETOOTH_ADMIN} to receive.
*/
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
public static final String ACTION_UUID =