From 18c13d7979336fe5509393c8974ff82222c5cb2e Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Thu, 5 Jul 2018 14:56:30 +0200 Subject: [PATCH] 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 --- overlay/frameworks/base/core/res/res/values/config.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 5df0393..bdaea82 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -402,6 +402,9 @@ "/system/framework/boot.vdex" "/system/framework/arm64/boot-core-libart.oat" "/system/framework/boot-core-libart.vdex" + "/system/priv-app/SystemUIGoogle/oat/arm64/SystemUIGoogle.vdex" + "/system/priv-app/SystemUIGoogle/oat/arm64/SystemUIGoogle.odex" + "/system/lib64/libsurfaceflinger.so"