diff options
author | Jeff Sharkey <jsharkey@android.com> | 2018-04-19 11:20:57 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2018-04-19 15:46:59 -0600 |
commit | 0ad6283da79c5f5e7cda0dd10030b9d4be2cb6e8 (patch) | |
tree | 1ce4874ffe70d1a436a85cb9653afdafd0b09bcc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 56487413b75e09100d9aabb9a8c1cf83b39ef34c (diff) |
Protect usage data with OP_GET_USAGE_STATS.
APIs that return package usage data (such as the new ArtManager)
must ensure that callers hold both the PACKAGE_USAGE_STATS permission
and the OP_GET_USAGE_STATS app-op.
Bug: 77662908
Test: atest vendor/xts/gts-tests/hostsidetests/dexapis/host/
Change-Id: I7a85d959f1682d2bd5cf3684415e368fece88101
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions