summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothMapClient.java
diff options
context:
space:
mode:
authorOli Lan <olilan@google.com>2021-03-24 17:37:07 +0000
committerJeff Sharkey <jsharkey@android.com>2021-03-24 15:02:22 -0600
commit4e1e3f7fcaf5ec6392dc869e683bbd7be2ec2e8d (patch)
tree83abbc94e6a4fdc0399d263771878b14bec4a2ca /framework/java/android/bluetooth/BluetoothMapClient.java
parent987883313edd1a9ba19106dbf470dac8cdca29c9 (diff)
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
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions