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

Commit caa68f08 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Removes app access to BluetoothAdapter#setDiscoverableTimeout by...

Merge "Removes app access to BluetoothAdapter#setDiscoverableTimeout by requiring BLUETOOTH_PRIVILEGED permission." into rvc-dev
parents 649612a4 f9ac0a09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1314,7 +1314,7 @@ public class AdapterService extends Service {
                return false;
            }

            enforceBluetoothPermission(service);
            enforceBluetoothPrivilegedPermission(service);

            return service.mAdapterProperties.setDiscoverableTimeout(timeout);
        }