sweet: Relax timers for automatic refresh rate switching

Due to visible gamma shifts on our panels, we should make the switchings
to happen conservatively.

With idle timer >= touch timer, idle timer now always takes precedence,
but we're leaving touch timer property to immediately switch back to
120 Hz on touch input events.

Display power timer is left untouched as it's responsible for display
mode changes such as Doze.

Change-Id: If8b1e00a2d2213c4d2288ab28fad4ba0826a36e8
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
This commit is contained in:
Park Ju Hyung 2022-05-31 18:32:42 +09:00 committed by basamaryan
parent a50f2c80ce
commit a8782400ef
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9

View File

@ -8,8 +8,8 @@ vendor.audio.feature.compr_voip.enable=false
vendor.voice.path.for.pcm.voip=false
# Display
ro.surface_flinger.set_idle_timer_ms=80
ro.surface_flinger.set_touch_timer_ms=200
ro.surface_flinger.set_idle_timer_ms=4000
ro.surface_flinger.set_touch_timer_ms=4000
ro.surface_flinger.set_display_power_timer_ms=1000
ro.surface_flinger.use_content_detection_for_refresh_rate=true