diff options
| author | 2022-10-26 19:05:37 +0000 | |
|---|---|---|
| committer | 2022-10-27 15:28:05 +0000 | |
| commit | 976d0a98d4b5dae2b26d653269887e359a72e32e (patch) | |
| tree | 3200974ac1f16ca16fc9e53e50a114f530599cd1 /services/coverage/java | |
| parent | bd224c8afbf7cf56ab42958628cac35bd9de51b0 (diff) | |
Rework backoff policy calculation.
Don't penalize jobs in the backoff calculation when they were stopped
for reasons that were likely outside of the app's control (eg. the
device entering Doze or battery saver or constraints no longer being
satisfied). Jobs calling jobFinished() on their own or timing out are
both deemed as being within the app's control.
Bug: 209979687
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Change-Id: I3cffd676c81cb461df39e68999b1a97cf4d5521a
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions