From c6fba349ebde21d27416c561a884c78c397eaead Mon Sep 17 00:00:00 2001 From: Dmitry Skiba Date: Thu, 18 Jul 2024 23:26:39 +0000 Subject: [PATCH] Reduce swap_free_low_percentage for Tokay. The default for swap_free_low_percentage is 10, and this CL reduces it to 7 to compenstate for AiCore carveout (4GB on 12GB device). Test: flash and check ro.lmk.swap_free_low_percentage property Flag: NONE overriding system property Bug: 353531482 Change-Id: I57e320010758be3b2ae6b3cd89c384394147f62a --- device-tokay.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-tokay.mk b/device-tokay.mk index 66ce6dc7..0d2c19a3 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -428,3 +428,7 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Set support for LEA multicodec PRODUCT_PRODUCT_PROPERTIES += \ bluetooth.core.le_audio.codec_extension_aidl.enabled=true + +# Reduce lmkd aggressiveness +PRODUCT_PROPERTY_OVERRIDES += \ + ro.lmk.swap_free_low_percentage=7