summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-04-15 08:31:42 -0600
committerJeff Sharkey <jsharkey@android.com>2021-04-15 14:58:02 -0600
commit938e329b77b25e0f87b2782a866e2a312d18c3e8 (patch)
treebdd3c355bc6fd2de5b1b7ca7248dc38ac0a15178 /tools/aidl/generate_java.cpp
parent1430546720742776de5dfcedf5267986aa07c1f6 (diff)
Refine BluetoothLeAdvertiser permissions.
Technically these APIs required both ADVERTISE and CONNECT, since internally it would attempt getting the device name as part of calculating packet lengths. These methods shouldn't require the CONNECT permission, so we add a getNameLengthForAdvertise() method internally to remove this dependency. Bug: 183626724 Test: ./build/soong/soong_ui.bash --make-mode Bluetooth RUN_ERROR_PRONE=true Change-Id: I245417bfc26d6d3a4f8be14077c7f1d271b5959e
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions