summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothMapClient.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-03-31 14:08:23 -0600
committerJeff Sharkey <jsharkey@android.com>2017-04-02 22:29:07 -0600
commitdec018bb591c81f99b581c274230c0313c487038 (patch)
treed0aa631508a8982bdb5b54ea46b965528ac1c100 /framework/java/android/bluetooth/BluetoothMapClient.java
parent02026a86f1bd2ad2178b5f0193e48d169814f8e6 (diff)
Consistent dump() permission checking.
This change introduces new methods on DumpUtils that can check if the caller has DUMP and/or PACKAGE_USAGE_STATS access. It then moves all existing dump() methods to use these checks so that we emit consistent error messages. Test: cts-tradefed run commandAndExit cts-dev -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest Bug: 32806790 Change-Id: Iaff6b9506818ee082b1e169c89ebe1001b3bfeca
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions