diff options
author | Kweku Adams <kwekua@google.com> | 2021-04-06 09:52:38 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2021-04-06 10:36:05 -0700 |
commit | 36bd8292c366fdcd604218c22fad9f8213da2c4f (patch) | |
tree | c0069aa292435adcbec6d605e569105298e08f00 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9496d1170ad1920cd7b58585f41453ff58be682d (diff) |
Better handle uninstall cases.
1. Processes may not have been fully terminated by the time
PackageManager broadcasts PACKAGE_FULLY_REMOVED (see b/165012101
and b/162757029), so note that in the comments.
2. Use ACTION_PACKAGE_FULLY_REMOVED instead of ACTION_PACKAGE_REMOVED to
avoid processing update broadcasts.
3. Make sure we don't attempt to reschedule or reprocess jobs of
uninstalled apps.
Bug: 184098842
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest CtsJobSchedulerTestCases
Change-Id: I355786885fcc8eccd31c5557b35de3e5243615d8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions