From e5df97ebe25e42ed4264cd992dcaddec66f4b414 Mon Sep 17 00:00:00 2001 From: milaq Date: Wed, 2 May 2012 22:38:02 +0200 Subject: [PATCH] keep home in mem; better way to include navbar --- leo.mk | 7 ++++++- overlay/frameworks/base/core/res/res/values/config.xml | 2 +- overlay/frameworks/base/core/res/res/values/dimens.xml | 2 +- system.prop | 3 --- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/leo.mk b/leo.mk index c5e9b28..c3e5c11 100644 --- a/leo.mk +++ b/leo.mk @@ -70,7 +70,7 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.ril.disable.power.collapse=0 \ wifi.supplicant_scan_interval=180 -# Improve touch responseiveness +# Improve touch responsiveness PRODUCT_PROPERTY_OVERRIDES += \ Debug.performance.tuning=1 \ Video.accelerate.hw=1 @@ -174,6 +174,11 @@ PRODUCT_PROPERTY_OVERRIDES += \ dalvik.vm.heapstartsize=5m \ dalvik.vm.dexopt-data-only=1 \ windowsmgr.max_events_per_sec=180 + +# Force launcher/apps into memory +PRODUCT_PROPERTY_OVERRIDES += \ + ro.HOME_APP_ADJ=1 \ + ro.PERCEPTIBLE_APP_ADJ=0 # HardwareRenderer properties # dirty_regions: "false" to disable partial invalidates, override if enabletr=true diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index ce8ee0f..c094b04 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -154,7 +154,7 @@ - false + true 10 diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml index 7319b52..f1c5c51 100755 --- a/overlay/frameworks/base/core/res/res/values/dimens.xml +++ b/overlay/frameworks/base/core/res/res/values/dimens.xml @@ -1,4 +1,4 @@ - 38dp + 34dp \ No newline at end of file diff --git a/system.prop b/system.prop index c532822..dc36651 100755 --- a/system.prop +++ b/system.prop @@ -1,5 +1,2 @@ rild.libpath=/system/lib/libhtc_ril_wrapper.so rild.libargs=-d /dev/smd0 -# -# uncomment prop below to enable softbuttons -qemu.hw.mainkeys=0