mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
Enable small dirty detection for variable refresh rate am: 7b31924b74 am: 7ddb21de73
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/24409478 Change-Id: I25971c12405a445adebd2d575f2fe44aed0c1982 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -697,6 +697,9 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=tr
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.display_update_imminent_timeout_ms=50
|
||||
|
||||
# Enhance VRR detection
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.enable_small_dirty_detection=true
|
||||
|
||||
# force to blend in P3 mode
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.sys.sf.native_mode=2 \
|
||||
|
||||
@@ -292,4 +292,17 @@
|
||||
|
||||
<!-- Enable variable refresh rate when typing. -->
|
||||
<bool name="config_variableRefreshRateTypingSupported">true</bool>
|
||||
|
||||
<!-- The list of packages to automatically opt in of fresh rate suppressing by small area
|
||||
detection. Format of this array should be packageName:threshold and threshold value should
|
||||
be between 0 to 1-->
|
||||
<string-array name="config_smallAreaDetectionAllowlist" translatable="false">
|
||||
<!-- Add packages:threshold here -->
|
||||
<item>com.google.android.youtube:0.07</item>
|
||||
<item>com.spotify.music:0.05</item>
|
||||
<item>com.reddit.frontpage:0.07</item>
|
||||
<item>com.zhiliaoapp.musically:0.07</item>
|
||||
<item>com.bilibili.app.in:0.07</item>
|
||||
<item>com.twitter.android:0.07</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user