summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Michael Wachenschwanz <mwachens@google.com> 2023-10-17 18:46:54 -0700
committer Ioana Alexandru <aioana@google.com> 2024-08-22 14:16:46 +0000
commit30a49ad4ab6f389c42c506b92f7c1550b682cacb (patch)
tree577bc9311e75b80ba81c6bb72a6813e5523ba040 /libs/androidfw/ObbFile.cpp
parentfde03598c4a33ac1070dd125685e435ddbf245d8 (diff)
Init some time Process stats with very negative numbers
mLastTopTime was initialized as 0, meaning early on in the boot OomAdjuster would mistakenly think apps had recently been in the TOP state. Also, changed mLastProviderTime even though it had some logic (now removed) to avoid the mistake. Test: atest MockingOomAdjustertest (ideally immediatly after boot) Fixes: 300106850 Merged-In: I399d34e1a9a19b7211413e51099721ea49efa7ad Change-Id: I399d34e1a9a19b7211413e51099721ea49efa7ad (cherry picked from commit 1e35d99e4a8c394fc8ea11c8e4ed797c85a2e769)
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions