summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSuprabh Shukla <suprabh@google.com>2020-08-05 12:51:20 -0700
committerSuprabh Shukla <suprabh@google.com>2020-08-13 15:27:13 -0700
commita8ddb7537dc30b3c144afd8ff0b3bed20aaeac2d (patch)
tree4e9578d81b1396d5c71df3e7526b47d3a75cd9b6 /tools/aapt2/java/JavaClassGenerator.cpp
parent501e75e878f91413f828f19a362e68d84ccc7e7e (diff)
Clean up AppStateTracker state on package removed
Exempted bucket state was leaking post uninstall in a way that would persist till the next install of the same package. Also cleaning up defunct entries from other lists. Clarified bucket state to always use exempted instead of exempt in code. Test: atest FrameworksMockingServicesTests:AppStateTrackerTest Manual: 1. Install an app and put it under battery restriction 2. Install an app and put it on the power exemption list 3. Uninstall both of the apps 4. They should not appear under 'Exempted' or 'Restricted' packages list in `adb shell dumpsys alarm` Bug: 162763690 Bug: 156868557 Change-Id: I710edbb85d811ea0beced3b59fe89f59bcec6dd8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions