summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2018-07-19 16:54:01 +0530
committerAmit Pundir <amit.pundir@linaro.org>2018-07-19 17:00:57 +0530
commit8fd4d87926295a5384f1f72070ee9869e9b2793b (patch)
treea8ed6a62ed772c8e9be51cee7ed20a7f205aa00a
parent802b0a635d3c44808dbb149a18b228505b6478a1 (diff)
downloaddragonboard410c-8fd4d87926295a5384f1f72070ee9869e9b2793b.tar.gz
db820c: Set dalvik heap properties
Set dalvik heap for a standard 10" tablet device, and override dalvik heap size and growth limit properties as done for Marlin (SDM821). Change-Id: I97fef5d1542fa33b8487fa699c1506224623d525 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--db820c/device.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/db820c/device.mk b/db820c/device.mk
index 859825d..20fc9f2 100644
--- a/db820c/device.mk
+++ b/db820c/device.mk
@@ -14,6 +14,14 @@
# limitations under the License.
#
+# Override heap size and growth limit
+# Copied from Marlin
+PRODUCT_PROPERTY_OVERRIDES := \
+ dalvik.vm.heapgrowthlimit=256m \
+ dalvik.vm.heapsize=36m
+
+$(call inherit-product-if-exists, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
+
PRODUCT_COPY_FILES := \
device/linaro/dragonboard-kernels/$(TARGET_PREBUILT_KERNEL):kernel \
device/linaro/dragonboard/fstab.common:root/fstab.db820c \