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

Commit c50d7fb2 authored by Oli Lan's avatar Oli Lan
Browse files

Check BLUETOOTH_SCAN permission when performing scans from GattService.

This adds checks for the new BLUETOOTH_SCAN permission in GattService.

The app op is noted when the location app op was noted previously,
i.e. in the startScan and registerPiAndStartScan methods. Hence
checkForDataDelivery is used there, and checkPreFlight is used
elsewhere.

Checks of the BLUETOOTH permission will be updated in a future CL.

Bug: 183203469
Test: atest GattServiceTest
Change-Id: I8696009c4bedaf42e3ca96d91c5c4d42d879a802
parent ba3e8e9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment