Skip to content
Commit 36bd8292 authored by Kweku Adams's avatar Kweku Adams
Browse files

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
parent 9496d117
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment