summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-04-29 07:12:20 -0600
committerJeff Sharkey <jsharkey@android.com>2021-04-29 13:55:07 -0600
commitb8e4b883aeb1cee8bc4bd0b5277889ce5b580f8b (patch)
tree663684c456372fe4b1457e647ae980bc72a9ff05 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9693ec26d92daf34e2433ab134e0508da00eca2e (diff)
Ensure privileged APIs require runtime permission.
When users revoke a runtime permission, they expect all interactions to be blocked, including those protected by the BLUETOOTH_PRIVILEGED permission. This change finishes applying that policy to any remaining Bluetooth APIs which didn't already implement it. To keep the implementation straightforward, this change does "data delivery" checks when registering for callbacks; the ideal behavior would be to wait until data is actually delivered through the callbacks, but RemoteCallbackList doesn't have support for AttributionSource yet. Bug: 186405452 Test: atest BluetoothInstrumentationTests Change-Id: Idd7be143eb8baff020a0718065293baae708041b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions