summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-04-19 15:22:45 -0600
committerJoel Galenson <jgalenson@google.com>2018-05-23 14:17:32 -0700
commitc36c3b946932ed56dc7a86edc8f252829b628766 (patch)
treee3a3252ad8a046f014f693d0b129a575673a1151 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent87fb335ee034f040b033e53dd185228b79782b40 (diff)
Protect usage data with OP_GET_USAGE_STATS.
APIs that return package usage data (such as DropBoxManager) must ensure that callers hold both the PACKAGE_USAGE_STATS permission and the OP_GET_USAGE_STATS app-op. Bug: 78355661 Test: Search output directory for binaries that have READ_LOGS but not USAGE_STATS and find none. Change-Id: I85e3bad680bb510439d73c7db5cc50cdcb7bbb42
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions