Skip to content
Commit 2c8f0f02 authored by Oli Lan's avatar Oli Lan Committed by Jeff Sharkey
Browse files

Replace BLUETOOTH and BLUETOOTH_ADMIN permission checks in BluetoothManagerService.

This replaces the checks for the legacy bluetooth permissions
with checks for the new BLUETOOTH_CONNECT permission.

All of the new checks are done as ForPreflight in this CL, i.e. app
ops will be checked but not noted. Changes to make some of the
checks ForDataDelivery (i.e. noting the app op) will be made in
follow-ups - this requires additional work as the calling package
and attribution tag must be plumbed through from the app side.

Bug: 183203469
Test: builds
Change-Id: I7b99a203ac25a8dcc0d33f442b08203244bff534
parent 4af392fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment