aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHashBang <hashbang173@gmail.com>2015-01-26 15:23:00 -0500
committerHashBang <hashbang173@gmail.com>2015-03-20 15:49:04 -0400
commit60b33e205dbdbb753406634e0b8d338151e463f8 (patch)
tree9c000b2dcebc7b6c8606f0bd3d1dd39e99cfa64e
parent23ae10a70032fefd6d4c70bb61265132eb8585b1 (diff)
otterx: Add more low-RAM optimizationslp5.0
Allows transparency Seems to speed up overall performance Based on: http://review.pac-rom.com/#/c/5137/ Change-Id: Ie3812a8cd93079ec8caf0eea32999b96b6f03fe4
-rw-r--r--device.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/device.mk b/device.mk
index 1e118f1..7bffd0b 100644
--- a/device.mk
+++ b/device.mk
@@ -51,9 +51,14 @@ ADDITIONAL_BUILD_PROPERTIES += \
usb.product.adb=0006 \
usb.product.mtpadb=0006
-# Mark as low ram device
+# Low-RAM optimizations
ADDITIONAL_BUILD_PROPERTIES += \
- ro.config.low_ram=true
+ ro.config.low_ram=true \
+ persist.sys.force_highendgfx=true \
+ dalvik.vm.jit.codecachesize=0 \
+ config.disable_atlas=true \
+ ro.config.max_starting_bg=8 \
+ ro.sys.fw.bg_apps_limit=16
# Dalvik settings
ADDITIONAL_BUILD_PROPERTIES += \