diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-03-31 14:08:23 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2017-04-02 22:29:07 -0600 |
commit | fe9a53bc45fd0124a876dc0a49680aaf86641d3e (patch) | |
tree | 56d1ea4b6f0fe98fa628a72f197cefa0fbabcb22 /tools/aapt2/diff/Diff.cpp | |
parent | 21a5edcc24cbca1ae3f0855d71737b22ab81ad6d (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 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions