diff options
| author | Rahul Sabnis <rahulsabnis@google.com> | 2020-01-30 12:02:17 -0800 |
|---|---|---|
| committer | Rahul Sabnis <rahulsabnis@google.com> | 2020-01-30 12:02:17 -0800 |
| commit | b867092b3481fc95fbaf01c5b97592c62367823c (patch) | |
| tree | dc82d973a0b566f3b28ea1c19131fceaff498d1e /framework/java/android/bluetooth/BluetoothDevice.java | |
| parent | 8b5b3b2ed91abad0a081f509c0bc23c8b3181aaa (diff) | |
Add privileged permission to SystemApi BluetoothDevice#setAlias
Bug: 144792904
Test: Manual
Change-Id: Ie11109736bb0eb4cd0f06c38db44805c0169ac5f
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevice.java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothDevice.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevice.java b/framework/java/android/bluetooth/BluetoothDevice.java index 12dc814c34..65f21ed7f4 100644 --- a/framework/java/android/bluetooth/BluetoothDevice.java +++ b/framework/java/android/bluetooth/BluetoothDevice.java @@ -1091,7 +1091,7 @@ public final class BluetoothDevice implements Parcelable { * @hide */ @SystemApi - @RequiresPermission(Manifest.permission.BLUETOOTH) + @RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED) public boolean setAlias(@NonNull String alias) { final IBluetooth service = sService; if (service == null) { |
