commit | 0ad6283da79c5f5e7cda0dd10030b9d4be2cb6e8 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Apr 19 11:20:57 2018 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Apr 19 15:46:59 2018 -0600 |
tree | 1ce4874ffe70d1a436a85cb9653afdafd0b09bcc | |
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