summaryrefslogtreecommitdiff
path: root/sdm660_64.mk
diff options
context:
space:
mode:
authorSanjeev Jakkilinki <sanjeevj@codeaurora.org>2017-03-10 18:47:56 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-01 22:43:05 -0700
commita9cf622898acf98f46bb378d18be803ca14db725 (patch)
tree04a0d484d221d995b926b083a654a817394074ec /sdm660_64.mk
parentc0c157b77285414337915db169251e1dea19090a (diff)
Override the heap growth limit
Override the heap growth limit due to high display density on device, maximum size of the managed heap can grow upto 256m Change-Id: I249373e9aa225d3e3151d4fc74dee4dbad9fe201
Diffstat (limited to 'sdm660_64.mk')
-rw-r--r--sdm660_64.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/sdm660_64.mk b/sdm660_64.mk
index a44308a..9ffe481 100644
--- a/sdm660_64.mk
+++ b/sdm660_64.mk
@@ -65,6 +65,10 @@ PRODUCT_PACKAGES += \
android.hardware.power@1.0-service \
android.hardware.power@1.0-impl
+# Override heap growth limit due to high display density on device
+PRODUCT_PROPERTY_OVERRIDES += \
+ dalvik.vm.heapgrowthlimit=256m
+$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
$(call inherit-product, device/qcom/common/common64.mk)
PRODUCT_NAME := sdm660_64