commit | 9e8a3df4e5fab238ba082fa5737bfb4fcbc99f95 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Wed Apr 14 09:08:54 2021 -0700 |
committer | Kweku Adams <kwekua@google.com> | Wed Apr 14 09:08:54 2021 -0700 |
tree | 04d20dca489fa5e5191ec96bb068b167fdd8cb96 | |
parent | 177de2ed552274965ba152c6f9942ab7c63b272a [diff] |
Avoid spammy adjustCallback iterations. Add a delay to calling maybeAdjustRegisteredCallbacks in some instances so that we don't spin doing the same work with no substantial change. Bug: 141645789 Bug: 184740668 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: I39890192b3e96476e7416e046581e45eb7a20060