aboutsummaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2020-10-06 16:16:44 -0700
committerDavide Garberi <dade.garberi@gmail.com>2023-08-03 11:45:45 +0200
commit5d6c9c0f835dc9a4580009cac9c3174aa1c44676 (patch)
tree6e144a2aabc6bdb44213f9358c492211a96085dd /overlay
parent6988cd020516514de7bfbb37de2aa3aa120fd223 (diff)
msm8996-common: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in question is Google Camera. The system will only pin up to the first 80 MiB of the APK file, as well as the first 80 MiB of its odex. There are several problems with this: - We could easily end up with 160 MiB of camera app files pinned, which is a tall order with the 4 GiB of usable RAM that we have - The data that gets pinned may not even be the most critical data for launching the camera Let's disable pinning of the camera app to save RAM. Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24 Signed-off-by: Nanhumly <admin@warbler.cc>
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml3
1 files changed, 0 insertions, 3 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index ecef40a..c6d7909 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -411,9 +411,6 @@
<!-- Should the pinner service pin the Home application? -->
<bool name="config_pinnerHomeApp">true</bool>
- <!-- Should the pinner service pin the Camera application? -->
- <bool name="config_pinnerCameraApp">true</bool>
-
<!-- Whether the Unprocessed audio source supports the required frequency range and level -->
<bool name="config_supportAudioSourceUnprocessed">true</bool>