universal8895: use 4GB dalvik-heap config
authorMichael Benedict <michaelbt@live.com>
Sun, 5 Jan 2020 07:27:32 +0000 (18:27 +1100)
committerJan Altensen <info@stricted.net>
Mon, 13 Apr 2020 15:15:44 +0000 (17:15 +0200)
Signed-off-by: Michael Benedict <michaelbt@live.com>
device-common.mk
system_prop.mk

index 7eb67f551bd2d71b0ffd9230f10febb4e4111e87..32a68ff12a71d4ce88ed71bcf0b8a62818a1d352 100644 (file)
@@ -254,6 +254,9 @@ PRODUCT_PACKAGES += \
     android.hardware.sensors@1.0-impl \
     android.hardware.sensors@1.0-service
 
+# Setup dalvik vm configs
+$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
+
 # Shims
 PRODUCT_PACKAGES += \
     libexynoscamera_shim
index 5a22b34aa84d8bcbdf3f57b35a03887c14b423a9..524bde74b7a43e8ed47afdfc8013196f5752caed 100644 (file)
 
 PRODUCT_PROPERTY_OVERRIDES += \
     ro.arch=exynos8895 \
-    dalvik.vm.heapstartsize=8m \
-    dalvik.vm.heapgrowthlimit=256m \
-    dalvik.vm.heapsize=512m \
-    dalvik.vm.heaptargetutilization=0.75 \
-    dalvik.vm.heapminfree=2m \
-    dalvik.vm.heapmaxfree=8m \
     persist.demo.hdmirotationlock=false \
     dev.usbsetting.embedded=on \
     ro.opengles.version=196610 \