summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Ryan Zuklie <rzuklie@google.com> 2023-06-15 17:46:17 -0700
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-06-16 21:21:17 +0000
commit165c521e698a350eb9bdebeeae03afe4d12819d1 (patch)
tree00807cb0e49cc61e733f1fe0467f093171a76a01 /libs/androidfw/ObbFile.cpp
parentf338ffa8f70bbd545d87516cda710ba930f69068 (diff)
Trace events while not recording history.
This makes the ATrace events be recorded even when the history events are not. History recording may be disabled when the device is on a charger and the batter is nearly fully charged. BatteryStats will reset history around this time so it may be fine to stop history, but the same is not true for tracing. Note: this introduces two new fields to record the state since when history is not recorded, mHistoryLastWritten isn't updated. Test: atest FrameworksServicesTests:BatteryStatsHistoryTest Bug: 286818006 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e1b5dc72c4eb910c3c70b7eda697a6ad6511010b) Merged-In: I52fc02cd8336adcb6f12305c584206242c40f507 Change-Id: I52fc02cd8336adcb6f12305c584206242c40f507
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions