Skip to content

Commit

Permalink
oneplus9: Add a condition for VRR properties.
Browse files Browse the repository at this point in the history
Change-Id: Icca7cb74ec367d477a4cb9ea6c6cb92019e5a195
  • Loading branch information
Vishalcj17 committed Oct 10, 2022
1 parent ff4ec88 commit dea9b3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,15 @@ PRODUCT_VENDOR_PROPERTIES += \
ro.surface_flinger.use_content_detection_for_refresh_rate=true \
vendor.display.primary_mixer_stages=9

ifeq ($(TARGET_DEVICE), oneplus9)
PRODUCT_ODM_PROPERTIES += \
ro.surface_flinger.set_idle_timer_ms=4000 \
ro.surface_flinger.set_touch_timer_ms=4000
else
PRODUCT_ODM_PROPERTIES += \
ro.surface_flinger.set_idle_timer_ms=250 \
ro.surface_flinger.set_touch_timer_ms=300
endif

# FRP
PRODUCT_VENDOR_PROPERTIES += \
Expand Down

0 comments on commit dea9b3c

Please sign in to comment.