diff options
author | Kweku Adams <kwekua@google.com> | 2021-07-22 11:54:45 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2021-07-22 14:41:36 -0700 |
commit | ec7103c61499f6d2dd1f15ff8a6b12dabf1c1a37 (patch) | |
tree | 73520ab4d2701e445b4937c8295af90fe13a3524 /tools/aidl/generate_java.cpp | |
parent | cd40c7406f98f8e37af3051428bd2b036cf53e56 (diff) |
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
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions