From 895a0d6e2b27a20196453860c86bdfeffc40e6dd Mon Sep 17 00:00:00 2001 From: HeCheng Yu Date: Tue, 31 Dec 2024 23:54:44 +0900 Subject: [PATCH] config: Disable default frame rate limit for games Android 15 limits refresh rate to 60hz for games unless we enable the developer option 'Disable default frame rate for games' manually. Adding this prop enables it by default. --- config/common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/common.mk b/config/common.mk index 78a67a78..9b00815e 100644 --- a/config/common.mk +++ b/config/common.mk @@ -169,6 +169,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ SimpleSettingsConfig +# Disable default frame rate limit for games +PRODUCT_PRODUCT_PROPERTIES += \ + debug.graphics.game_default_frame_rate.disabled=true + # Extra tools in Lineage PRODUCT_PACKAGES += \ bash \