diff options
author | Midas Chien <midaschieh@google.com> | 2023-12-05 13:10:56 +0000 |
---|---|---|
committer | Midas Chien <midaschieh@google.com> | 2023-12-05 13:27:19 +0000 |
commit | ffc410a2a077e9b8780df83ba78d4861c6960e5c (patch) | |
tree | c3c5d6897cfab0622cd370c363b0e833bec01ecd | |
parent | f57c176679653c998e5c6ee1ac451da19ac90036 (diff) | |
download | barbet-ffc410a2a077e9b8780df83ba78d4861c6960e5c.tar.gz |
SF: enable power, touch timer and content detection by default
Those features are required for frame rate override to work properly.
Bug: 303905645
Test: play video and scroll
Change-Id: I28149cdad272a7bc616676e5159685331423966e
-rw-r--r-- | device-barbet.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/device-barbet.mk b/device-barbet.mk index 9070c62..9540473 100644 --- a/device-barbet.mk +++ b/device-barbet.mk @@ -181,6 +181,12 @@ PRODUCT_PACKAGES += \ # Fingerprint HIDL include device/google/barbet/fingerprint.mk +# SurfaceFlinger configurations +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_display_power_timer_ms=1000 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=0 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_touch_timer_ms=200 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_for_refresh_rate=true + # NFC PRODUCT_COPY_FILES += \ device/google/barbet/nfc/libnfc-hal-st-G4S1M.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st-G4S1M.conf |