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

Commit 68b30703 authored by Rahul Sabnis's avatar Rahul Sabnis Committed by Gerrit Code Review
Browse files

Merge "Enforce BLUETOOTH_PRIVILEGED permission in AdapterService#setScanMode"

parents 62eeb22a 8477abd5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1255,7 +1255,7 @@ public class AdapterService extends Service {
                return false;
            }

            enforceBluetoothPermission(service);
            enforceBluetoothPrivilegedPermission(service);

            service.mAdapterProperties.setDiscoverableTimeout(duration);
            return service.mAdapterProperties.setScanMode(convertScanModeToHal(mode));