summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuyog Sarda <ssarda@codeaurora.org>2015-09-23 12:56:19 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2015-10-07 15:09:20 -0700
commit40f950a046c22b6923fc7818de27792e2eb76751 (patch)
tree2b830ff56968f21eac246caf39fd69940b23b414
parent09ecabc3ea7a13d140a0c050afdafc6e9e2884a3 (diff)
downloadframeworks_base-40f950a046c22b6923fc7818de27792e2eb76751.zip
frameworks_base-40f950a046c22b6923fc7818de27792e2eb76751.tar.gz
frameworks_base-40f950a046c22b6923fc7818de27792e2eb76751.tar.bz2
Disable Aggressive Trim by Default.
Agressive trim will be enabled via target specific properties. Change-Id: I0762d1ef30bee5e6822a30bd4e218a5d55be4de3
-rw-r--r--services/core/java/com/android/server/am/ProcessList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/am/ProcessList.java b/services/core/java/com/android/server/am/ProcessList.java
index de706e7..8630f00 100644
--- a/services/core/java/com/android/server/am/ProcessList.java
+++ b/services/core/java/com/android/server/am/ProcessList.java
@@ -136,7 +136,7 @@ final class ProcessList {
// process limit.
static final int MAX_CACHED_APPS = SystemProperties.getInt("ro.sys.fw.bg_apps_limit",32);
static final boolean USE_TRIM_SETTINGS =
- SystemProperties.getBoolean("ro.sys.fw.use_trim_settings",true);
+ SystemProperties.getBoolean("ro.sys.fw.use_trim_settings",false);
static final int EMPTY_APP_PERCENT = SystemProperties.getInt("ro.sys.fw.empty_app_percent",50);
static final int TRIM_EMPTY_PERCENT =
SystemProperties.getInt("ro.sys.fw.trim_empty_percent",100);