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
Loading
Please register or sign in to comment