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
This commit is contained in:
Sanjeev Jakkilinki 2017-03-10 18:47:56 +05:30 committed by Gerrit - the friendly Code Review server
parent c0c157b772
commit a9cf622898

View file

@ -65,6 +65,10 @@ PRODUCT_PACKAGES += \
android.hardware.power@1.0-service \ android.hardware.power@1.0-service \
android.hardware.power@1.0-impl 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) $(call inherit-product, device/qcom/common/common64.mk)
PRODUCT_NAME := sdm660_64 PRODUCT_NAME := sdm660_64