summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization.h
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2024-05-20 18:35:24 +0100
committer Jiakai Zhang <jiakaiz@google.com> 2024-05-24 20:40:45 +0000
commit488af6ff6852279414d0a8b75dd2012e888ec08b (patch)
tree39e437e95af85dce7e5dea9e3560dd28d955acc0 /compiler/optimizing/loop_optimization.h
parent9004f362d30e4ef443e2e9fd2bcf1b859fcff12e (diff)
Persist whether the job has started in a system property.
In this way, this flag survives across system server restarts. Therefore, `cleanup` doesn't clean up staged files when the system server dies and is restarted, if the job has ever started. Bug: 311377497 Test: - 1. Install an ART apex. 2. adb shell cmd jobscheduler run android 27873781 3. Wait for the job to finish. 4. adb shell stop && adb shell start 5. adb shell pm art cleanup 6. Check that the staged files are still there. Change-Id: I451122845341ba52f0574052a37ad95b0a9ef9c4
Diffstat (limited to 'compiler/optimizing/loop_optimization.h')
0 files changed, 0 insertions, 0 deletions