From 430e361b202ecff8a10a9258948ade99689fe6b1 Mon Sep 17 00:00:00 2001 From: Edward Jee Date: Mon, 7 Oct 2013 18:12:15 -0700 Subject: [PATCH] Makes ACTION_PAIRING_REQUEST require BLUETOOTH_PRIVILEGED. Bug: 11087521 Change-Id: I99cc584987bf12fe0648b048398b4eb9836e6172 --- core/java/android/bluetooth/BluetoothDevice.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/bluetooth/BluetoothDevice.java b/core/java/android/bluetooth/BluetoothDevice.java index 5eb642cafb095..5822e468b36b0 100644 --- a/core/java/android/bluetooth/BluetoothDevice.java +++ b/core/java/android/bluetooth/BluetoothDevice.java @@ -322,7 +322,8 @@ public final class BluetoothDevice implements Parcelable { /** * Broadcast Action: This intent is used to broadcast PAIRING REQUEST - *

Requires {@link android.Manifest.permission#BLUETOOTH} to receive. + *

Requires {@link android.Manifest.permission#BLUETOOTH_PRIVILEGED} to + * receive. */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) public static final String ACTION_PAIRING_REQUEST =