diff options
| author | Matthew Xie <mattx@google.com> | 2013-04-24 17:51:37 -0700 |
|---|---|---|
| committer | Matthew Xie <mattx@google.com> | 2013-04-24 17:51:37 -0700 |
| commit | d575233c53d46d55db79c269e716d1d1115fd368 (patch) | |
| tree | 052379a3a0a0fb4115e1ffef800d7c657c02da70 /core/java/android | |
| parent | 89a6081447fc5c454aad3aea02190a576d92ca1b (diff) | |
| download | frameworks_base-d575233c53d46d55db79c269e716d1d1115fd368.zip frameworks_base-d575233c53d46d55db79c269e716d1d1115fd368.tar.gz frameworks_base-d575233c53d46d55db79c269e716d1d1115fd368.tar.bz2 | |
Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN
bug 8667898
Change-Id: Iaff19fe72b16a96a6cf2f5b9140e369098567d2b
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothAdapter.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/bluetooth/BluetoothAdapter.java b/core/java/android/bluetooth/BluetoothAdapter.java index 3498bb8..cfbfb48 100644 --- a/core/java/android/bluetooth/BluetoothAdapter.java +++ b/core/java/android/bluetooth/BluetoothAdapter.java @@ -1434,7 +1434,7 @@ public final class BluetoothAdapter { * <p>Results of the scan are reported using the * {@link LeScanCallback#onLeScan} callback. * - * <p>Requires {@link android.Manifest.permission#BLUETOOTH} permission. + * <p>Requires {@link android.Manifest.permission#BLUETOOTH_ADMIN} permission. * * @param callback the callback LE scan results are delivered * @return true, if the scan was started successfully @@ -1450,7 +1450,7 @@ public final class BluetoothAdapter { * <p>Devices which advertise all specified services are reported using the * {@link LeScanCallback#onLeScan} callback. * - * <p>Requires {@link android.Manifest.permission#BLUETOOTH} permission. + * <p>Requires {@link android.Manifest.permission#BLUETOOTH_ADMIN} permission. * * @param serviceUuids Array of services to look for * @param callback the callback LE scan results are delivered @@ -1490,7 +1490,7 @@ public final class BluetoothAdapter { /** * Stops an ongoing Bluetooth LE device scan. * - * <p>Requires {@link android.Manifest.permission#BLUETOOTH} permission. + * <p>Requires {@link android.Manifest.permission#BLUETOOTH_ADMIN} permission. * * @param callback used to identify which scan to stop * must be the same handle used to start the scan |
