diff options
author | Wale Ogunwale <ogunwale@google.com> | 2017-02-05 13:52:09 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2017-02-12 16:57:24 -0800 |
commit | d993a573d7fcf1a69d35528cae4dd96581c9aacd (patch) | |
tree | 6c920e5bf1412d3838a2591c2dfa60c31dc534b7 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 02d3a61690a7378ed4cfdc2848d8856c67d8c714 (diff) |
Set oom adj for processes displaying app-overlays to PERCEPTIBLE_APP_ADJ
For processes with a window of type TYPE_APPLICATION_OVERLAY adjust their
oom importance to PERCEPTIBLE_APP_ADJ to reduce the chance of them getting
killed by the low-memory-killer since they are displaying something that
is perceptible to the user.
Also z-order TYPE_DREAM windows above alerts windows.
Bug: 33256752
Test: cts/.../run-test CtsAppTestCases android.app.cts.AlertWindowsTests
Change-Id: I4c05a9fee6fad61399bf4d10c8647467cc596ca6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions