From 98e211ff8ce9fbb63bc466f3a22c61f9dc51a0fe Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Fri, 10 Aug 2018 23:14:57 +0100 Subject: [PATCH] klte-common: Import stock Dalvik heap overrides Change-Id: Ifac6650a874cf982a6e767da92599d4b6230a637 --- klte.mk | 1 - system.prop | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/klte.mk b/klte.mk index 2a58666..4826d74 100644 --- a/klte.mk +++ b/klte.mk @@ -16,7 +16,6 @@ # $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) -$(call inherit-product, frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk) # Overlays DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay diff --git a/system.prop b/system.prop index 0f22bf4..1d29f71 100644 --- a/system.prop +++ b/system.prop @@ -20,6 +20,14 @@ audio.offload.buffer.size.kb=32 # Camera camera2.portability.force_api=1 +# Dalvik heap +dalvik.vm.heapstartsize=8m +dalvik.vm.heapgrowthlimit=192m +dalvik.vm.heapsize=512m +dalvik.vm.heaptargetutilization=0.75 +dalvik.vm.heapminfree=2m +dalvik.vm.heapmaxfree=8m + # Display ro.hdcp2.rx=tz ro.qualcomm.cabl=1