From 7fb18748e0357f303aeb58a4702fa504e7a359ab Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Wed, 22 Feb 2023 21:48:20 +0530 Subject: [PATCH] sm6150-common: Use jemalloc to fix MIUI camera Signed-off-by: Pranav Vashi Signed-off-by: therealmharc --- BoardConfigCommon.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 2b635ec..8c60295 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -50,6 +50,8 @@ TARGET_BOOTLOADER_BOARD_NAME := sm6150 TARGET_NO_BOOTLOADER := true # Camera +MALLOC_SVELTE := true +MALLOC_SVELTE_FOR_LIBC32 := true TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED := true TARGET_CAMERA_PACKAGE_NAME := com.android.camera