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

Commit 1a0ca5e7 authored by Presubmit Automerger Backend's avatar Presubmit Automerger Backend
Browse files

[automerge] Removes app access to BluetoothAdapter#setDiscoverableTimeout by...

[automerge] Removes app access to BluetoothAdapter#setDiscoverableTimeout by requiring BLUETOOTH_PRIVILEGED permission. 2p: cc22abc0

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/17623018

Bug: 206807679
Change-Id: I0f1be85aa35d53961d4624a631cfd9d4df3bbde4
parents 1a7cfafe cc22abc0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1477,6 +1477,8 @@ public class AdapterService extends Service {
                return false;
            }

            enforceBluetoothPrivilegedPermission(service);

            return service.mAdapterProperties.setDiscoverableTimeout(timeout);
        }