summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJing Ji <jji@google.com>2020-05-28 21:45:21 -0700
committerJing Ji <jji@google.com>2020-05-28 22:19:45 -0700
commitea036c84168641c08a9da13f836a402729d8ca67 (patch)
tree40d5da93b12ec4491f13ba654685c0c0b2f83f6f /tools/aapt2/java/JavaClassGenerator.cpp
parent851415b6937a5a0f6f668ebcfd28ffcbe6a90b90 (diff)
Don't reset OOM adjType to cch-empty during recomputing on cycles
The first pass should have an equivalent or better value for it. During oom recomputing on cycles, if the result of recomputation is no better than the given 'cachedAdj', its adjType won't be updated, therefore we'd need to keep its current value as is. Bug: 156123244 Test: atest MockingOomAdjusterTests Test: atest FrameworksServicesTests:ActivityManagerServiceTest Test: atest CtsAppTestCases:ActivityManagerProcessStateTest Test: Manual - adb shell dumpsys activity oom Change-Id: Ic4adf76656575926d16c0a037d955795061116e3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions