Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2aea00b8 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Ensure dex2oat is run with background priority for OTA dexopt.

This makes us query `dalvik.vm.background-dex2oat-cpu-set` and
`dalvik.vm.background-dex2oat-threads` for those runs.

A test run shows that `DEXOPT_BOOTCOMPLETE` is propagated from
`OtaDexoptService`, but set it anyway to be certain.

Test: Apply OTA and check that `boot_complete` and
      `background_job_compile` get set in `android::installd::dexopt`.
Bug: 237017087
Change-Id: I48627dd062fb6155c826d48b7caefeec36f0cfff
parent 5a16dd2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment