diff options
| author | 2022-10-27 15:38:36 +0100 | |
|---|---|---|
| committer | 2022-10-28 10:40:20 +0000 | |
| commit | 1ea1cf9c337cccab71bcb10f1e5df315752e7804 (patch) | |
| tree | 6443714c4535151b12c3c5c4ac7bb23da532ebb0 /libs/androidfw/StringPool.cpp | |
| parent | 9b45e65e7cb2417c451f894caeeab9c21384091b (diff) | |
Fix the scheduling of the background dexopt job.
Before this change, when the background dexopt job finishes, it passes
true to jobFinished, which indicates that the job failed and should be
rescheduled.
This CL fixes the bug by always passing false instead. This is correct
because:
- If the job finishes normally, it should not be rescheduled.
- If the job is cancelled by the job scheduler, the job scheduler will
ignore the jobFinished call. Instead, it will look at the return value
of onStopJob, which is true.
Bug: 255943027
Test: Presubmit
Change-Id: Ifaabe452aa5fbde9319f84aa8d4e99d7d3350154
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions