overlay: Pin critical apps and system services that get swapped

Pin critical system apps that always need to be responsive, no
mattter what:
- SystemUI for expanding the notification shade/navigation bar
- SF: Doesn't need introduction, but still gets zram'ed in certain
cases:

Total memory impact: About 5-6 MB (since regularly not all code is
loaded)
Test: Flash device with CL and make sure actions like expanding
notification shade isn't as janky under memory pressure anymore
Bug: 111132016

Change-Id: I3bc93204147502bec2e983f7ee37555294db308c
This commit is contained in:
Jorim Jaggi
2018-07-05 14:56:30 +02:00
committed by Jorge Lucas
parent bec412a1ec
commit 18c13d7979

View File

@@ -402,6 +402,9 @@
<item>"/system/framework/boot.vdex"</item>
<item>"/system/framework/arm64/boot-core-libart.oat"</item>
<item>"/system/framework/boot-core-libart.vdex"</item>
<item>"/system/priv-app/SystemUIGoogle/oat/arm64/SystemUIGoogle.vdex"</item>
<item>"/system/priv-app/SystemUIGoogle/oat/arm64/SystemUIGoogle.odex"</item>
<item>"/system/lib64/libsurfaceflinger.so"</item>
</string-array>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently