summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2017-02-05 13:52:09 -0800
committerWale Ogunwale <ogunwale@google.com>2017-02-12 16:57:24 -0800
commitd993a573d7fcf1a69d35528cae4dd96581c9aacd (patch)
tree6c920e5bf1412d3838a2591c2dfa60c31dc534b7 /tools/aapt2/diff/Diff.cpp
parent02d3a61690a7378ed4cfdc2848d8856c67d8c714 (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/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions