From 5656d01eaf5d8cc39818ead8cc3998bdcbf331e0 Mon Sep 17 00:00:00 2001 From: GhostMaster69-dev Date: Fri, 29 Jul 2022 11:50:38 +0530 Subject: [PATCH] a20{e}: Use 2GB phone Dalvik heap values for 3GB variant Better to loose some performance than to get OOM. Signed-off-by: GhostMaster69-dev --- a20/device.mk | 2 +- a20e/device.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/a20/device.mk b/a20/device.mk index 6a28774..b076a4a 100644 --- a/a20/device.mk +++ b/a20/device.mk @@ -7,7 +7,7 @@ $(call inherit-product, device/samsung/universal7885-common/universal7885-common $(call inherit-product, vendor/samsung/a20/a20-vendor.mk) -$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk) +$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) # Derp DERP_BUILDTYPE := Official diff --git a/a20e/device.mk b/a20e/device.mk index a622047..eadf11a 100644 --- a/a20e/device.mk +++ b/a20e/device.mk @@ -7,7 +7,7 @@ $(call inherit-product, device/samsung/universal7885-common/universal7885-common $(call inherit-product, vendor/samsung/a20e/a20e-vendor.mk) -$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk) +$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) # Derp DERP_BUILDTYPE := Official