summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Carl Shapiro <cshapiro@google.com> 2011-02-01 17:59:36 -0800
committer Carl Shapiro <cshapiro@google.com> 2011-02-01 20:21:48 -0800
commit85f974e7be05accc3a1f110be5b14f326addc592 (patch)
tree4b6abad1b48fbe52923e5d608efe21ba9c92394d
parent8b805ddc2eacaf7c5618619feee2154c4b18e9bf (diff)
Fix the naming of the heap growth limit property.
This change ensures that the heap growth limit is property registered with the virtual machine. Otherwise, applications will default to the maximum heap size. Bug: 3414804 Change-Id: Id820bf718993a45088f7652910deca9cd87fd488
-rw-r--r--build/phone-hdpi-512-dalvik-heap.mk2
-rw-r--r--build/tablet-dalvik-heap.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/phone-hdpi-512-dalvik-heap.mk b/build/phone-hdpi-512-dalvik-heap.mk
index 630cf035a741..788b68609604 100644
--- a/build/phone-hdpi-512-dalvik-heap.mk
+++ b/build/phone-hdpi-512-dalvik-heap.mk
@@ -19,5 +19,5 @@
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=5m \
- dalvik.vm.growthlimit=32m \
+ dalvik.vm.heapgrowthlimit=32m \
dalvik.vm.heapsize=128m
diff --git a/build/tablet-dalvik-heap.mk b/build/tablet-dalvik-heap.mk
index 37c3ec531a80..826a380232a0 100644
--- a/build/tablet-dalvik-heap.mk
+++ b/build/tablet-dalvik-heap.mk
@@ -18,5 +18,5 @@
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=5m \
- dalvik.vm.growthlimit=48m \
+ dalvik.vm.heapgrowthlimit=48m \
dalvik.vm.heapsize=256m