diff options
author | Simon Shields <keepcalm444@gmail.com> | 2016-03-01 17:51:33 +1100 |
---|---|---|
committer | Simon Shields <keepcalm444@gmail.com> | 2016-03-02 23:14:41 +1100 |
commit | a7fd009a5e056ce4baf1816506a6138b79fa4d50 (patch) | |
tree | 569d21755c0ce8fe7824cff1dbd26c75dff074f8 | |
parent | 76829befcaaff1647d99be7477229bad9b0cb329 (diff) | |
download | device_samsung_i9300-a7fd009a5e056ce4baf1816506a6138b79fa4d50.zip device_samsung_i9300-a7fd009a5e056ce4baf1816506a6138b79fa4d50.tar.gz device_samsung_i9300-a7fd009a5e056ce4baf1816506a6138b79fa4d50.tar.bz2 |
i9300: lmk config
Change-Id: I5be3949709af51bab502efc7b0a24fb125936165
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 19 |
1 files changed, 19 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 74d4119..9441f8b 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -250,6 +250,25 @@ <!-- Allow the menu hard key to be disabled in LockScreen on some devices --> <bool name="config_disableMenuKeyInLockScreen">true</bool> + <!-- Device configuration setting the minfree tunable in the lowmemorykiller in the kernel. + A high value will cause the lowmemorykiller to fire earlier, keeping more memory + in the file cache and preventing I/O thrashing, but allowing fewer processes to + stay in memory. A low value will keep more processes in memory but may cause + thrashing if set too low. Overrides the default value chosen by ActivityManager + based on screen size and total memory for the largest lowmemorykiller bucket, and + scaled proportionally to the smaller buckets. -1 keeps the default. --> + <integer name="config_lowMemoryKillerMinFreeKbytesAbsolute">122880</integer> + + <!-- Device configuration adjusting the minfree tunable in the lowmemorykiller in the + kernel. A high value will cause the lowmemorykiller to fire earlier, keeping more + memory in the file cache and preventing I/O thrashing, but allowing fewer processes + to stay in memory. A low value will keep more processes in memory but may cause + thrashing if set too low. Directly added to the default value chosen by + ActivityManager based on screen size and total memory for the largest lowmemorykiller + bucket, and scaled proportionally to the smaller buckets. 0 keeps the default. --> + <integer name="config_lowMemoryKillerMinFreeKbytesAdjust">0</integer> + + <!-- Disable the home key unlock setting --> <!--bool name="config_disableHomeUnlockSetting">false</bool--> |