diff options
| author | Jorim Jaggi <jjaggi@google.com> | 2021-03-07 13:18:40 +0530 |
|---|---|---|
| committer | Jeferson Oliveira <jroliveira.oliveira301@gmail.com> | 2021-03-08 19:11:47 +0100 |
| commit | e39c804ed85c12987576bfc4742cec8d7c6bd227 (patch) | |
| tree | da1a6b063fa69698d620085331d5c15e1f5f4fcb | |
| parent | 2a85f5fa6325d74fe69456e58a664fb07e9a11fb (diff) | |
harpia: 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
| -rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 1ce44d7..99b0043 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -49,4 +49,11 @@ <!-- Does the device support battery LED? --> <bool name="config_intrusiveBatteryLed">true</bool> + + <!-- Default list of files pinned by the Pinner Service --> + <string-array translatable="false" name="config_defaultPinnerServiceFiles"> + <item>"/product/priv-app/SystemUIGoogle/SystemUIGoogle.apk"</item> + <item>"/product/priv-app/SystemUIGoogle/oat/arm/SystemUIGoogle.odex"</item> + <item>"/system/lib/libsurfaceflinger.so"</item> + </string-array> </resources> |
