Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b867092b authored by Rahul Sabnis's avatar Rahul Sabnis
Browse files

Add privileged permission to SystemApi BluetoothDevice#setAlias

Bug: 144792904
Test: Manual
Change-Id: Ie11109736bb0eb4cd0f06c38db44805c0169ac5f
parent 8b5b3b2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {