summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueConsumer.cpp
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2023-08-02 17:54:27 +0100
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-08-09 11:04:26 +0000
commit240b7a3654de6edac54bbe696b12780f943911ee (patch)
tree9babd886225ede1a9bdeabfd078a312ce2dbb64f /libs/gui/BufferQueueConsumer.cpp
parentf88c330e870ab4dd333341234836cba4fb209df5 (diff)
Remove 1s sleep between each package in the A/B OTA postinstall dexopt process.
This sleep makes OTA dexopt runs take significantly longer, but even so it's not sufficient to avoid jank (cf. b/237017087). If this process takes too much resources then it can be tuned through the `OtaProfiles` task profile, `dalvik.vm.background-dex2oat-cpu-set` and/or `dalvik.vm.background-dex2oat-threads`. It's also possible to cut down the work done before the OTA reboot with `MAXIMUM_PACKAGES`. Test: Manual OTA update Bug: 199756868 Bug: 237017087 (cherry picked from https://android-review.googlesource.com/q/commit:877d087af7ad0a435b27d36068bd0d0162a91f45) Merged-In: Id2b460a99da19d42238d3aa0165c1792fe303398 Change-Id: Id2b460a99da19d42238d3aa0165c1792fe303398
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
0 files changed, 0 insertions, 0 deletions