commit | 48b9a472f606eaadea841abee31f1fe59b384682 | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Wed Jan 25 21:36:42 2023 +0000 |
committer | Martin Stjernholm <mast@google.com> | Fri Jan 27 20:11:42 2023 +0000 |
tree | 840c2d731cfefe76f92eb35a974392e8b83a69fb | |
parent | b75a0dfe91c7269047b5552b390e4d291f127f2d [diff] |
Fix ART Service initialization order problems. - Move ArtManagerLocal initialization before the boot compilation step (UpdatePackagesIfNeeded). - Delay scheduling the background dexopt job because the job scheduler hasn't been started at that point. Test: Boot with dalvik.vm.useartservice=true and check logcat that ART Service starts up and a first-boot dexopt runs without errors. Bug: 266028904 Change-Id: I108b877f2a99c69c20f7209339cd193c2d41e7ea