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 | 1438e9ec8b03589b2b9ec133f0bc298bcd49b72d (patch) | |
| tree | 27b9725cc3eb5e17a6af9a9004e96f567599da23 /framework/java/android/bluetooth/BluetoothAdapter.java | |
| parent | 01e8e2ac8e6994921b811f741b2d4dbe99b50b19 (diff) | |
Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN
bug 8667898
Change-Id: Iaff19fe72b16a96a6cf2f5b9140e369098567d2b
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothAdapter.java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothAdapter.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/java/android/bluetooth/BluetoothAdapter.java b/framework/java/android/bluetooth/BluetoothAdapter.java index 3498bb8e47..cfbfb48d4a 100644 --- a/framework/java/android/bluetooth/BluetoothAdapter.java +++ b/framework/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 |
