summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Michael Wachenschwanz <mwachens@google.com> 2023-10-03 14:28:09 -0700
committer Michael Wachenschwanz <mwachens@google.com> 2024-02-14 17:38:08 -0800
commitd6041cb9b9ae07f8ad86f562c39d4f9b20e21cdc (patch)
tree464e89ca33c63ce51d3d50e78dee88c347d1ed2d /libs/hwui/FrameInfoVisualizer.cpp
parentb7d1881518e0301c20629f6be600e28310f135b9 (diff)
Remove mCached and mEmpty from PSR and calculate on query
The mCached and mEmpty are effectively descriptions of oomAdj and ProcState. Calculating cached and empty states from oomAdj and procState guarantees there will be no desync from those respective states. Also cache adjType for Activity-based policies, so it does not get wiped out by subsequent computes in an update. Fixes: 302754011 Test: atest MockingOomAdjusterTests Test: atest ServiceBindingOomAdjPolicyTest Change-Id: Icc1f5a772a0739d28718f4e1255f1c33204b77a9
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions