diff options
author | Jing Ji <jji@google.com> | 2021-03-02 13:49:55 -0800 |
---|---|---|
committer | Jing Ji <jji@google.com> | 2021-03-06 17:56:30 -0800 |
commit | c0fb17263f11c243c95086b3d017e9df89d9d60b (patch) | |
tree | e45f8e9adddfcef2ae8f84debc8d8e0423f750bb /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b5b5aa24ac457709844370f85d6ceaa7f8d3d2cc (diff) |
Don't bother to kill large cached app if it's being launched
Previously for a large cached app, it could get killed by AM while
we're looking for its ProcessRecord, but it'll be unnecessary in case
it's being relaunched (i.e., start service).
Now disable the killing on large cached apps when the system is on
low memory pressure. A follow-up CL may reintroduce it by moving
the killing into different paths.
Bug: 174502269
Test: atest CtsAppTestCases
Change-Id: I38c9179bd1ce28c5cc584d73478b3c914e67ca79
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions