Don't crash apps due to race condition.
When apps are stopped unnaturally (ie. because something stopped the job and the job itself didn't call jobFinished or dequeueWork with no remaining work) then we have the chance of small race conditions where the job may try to complete its work. Since the race condition isn't really the app's fault, we shouldn't punish the app for it. Bug: 194358301 Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job Test: atest CtsJobSchedulerTestCases Change-Id: I3b0edd4f2241172fe97875eb8070cb5188027afb
Loading
Please register or sign in to comment