summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothMapClient.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-03-22 15:34:02 -0600
committerJeff Sharkey <jsharkey@android.com>2021-03-22 15:34:05 -0600
commit99424db11fffecf78a2e91155844bc2a2914b867 (patch)
tree53e828b7317b3a9976f2b2d0227401ee733096da /framework/java/android/bluetooth/BluetoothMapClient.java
parentd9f1a2b6450b0cac3ac766f915326b9c6aa4ec3b (diff)
Request new Bluetooth runtime permissions.
An upcoming platform change is introducing a new "Nearby devices" runtime permission which contains the new BLUETOOTH_CONNECT and BLUETOOTH_SCAN permissions. We have logic in place to use <split-permission> to translate the older BLUETOOTH and BLUETOOTH_ADMIN permissions into these new runtime permissions, but modern apps will need to pivot to requesting them directly as part of targeting Android S. This change requests both the old and new permissions to avoid breakage while the new permission enforcement is being phased in. Bug: 181813006 Test: atest CtsPermission2TestCases Test: atest CtsPermission3TestCases Test: atest CtsStatsdAtomHostTestCases Change-Id: I39f45e7d22d132d44c84017cd98e6d9e98533c7f
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions