diff options
author | Todd Kennedy <toddke@google.com> | 2020-01-27 15:20:07 -0800 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2020-02-11 15:46:43 -0800 |
commit | b0948d4cecb37ce1a75dabc2550463e36c02fb4e (patch) | |
tree | 26890aa744a3ca9cfb02446d24e232901fdfe501 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d9709b9604fe064dc86e109a9ff1ba34561d03a8 (diff) |
Add new permission / appop for reading loader data
Bug: 148374455
Test: Manual
Test: Create three packages; 1) only request PACKAGE_USAGE_STATS, 2) only request LOADER_USAGE_STATS, 3) request both
Test: Go to Settings -> Apps & Notifications -> Special app access
Test: See that there is only a single entry for "Usage access"
Test: Under "Usage access", see all three test apps appear
Test: Disable access for each application and verify that only the appop for the declared permisson is flipped using
Test: adb shell cmd appops get <<PACKAGE_NAME>>
Test: atest CtsPermission2TestCases
Change-Id: I7741a703fd4494832347e51e113adf974cc31d2b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions