summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYong Zhang <zhangyong@google.com>2023-09-07 17:50:03 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2023-09-07 17:50:03 +0000
commita4675a60afcd0449fd77c5f1dc62cc6b02ab7d7a (patch)
tree98f36ac3a431104a99d7d2254fb25ff05f62e69d
parent06447d5b882866a9ec83e4a90ee6d593d7572348 (diff)
parentfd050630b3aa7b9a399c71ce3a6e95e631859dc6 (diff)
downloadzuma-a4675a60afcd0449fd77c5f1dc62cc6b02ab7d7a.tar.gz
Merge "Revert "Enable small dirty detection for variable refresh rate"" into udc-qpr-dev
-rw-r--r--device.mk3
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml13
2 files changed, 0 insertions, 16 deletions
diff --git a/device.mk b/device.mk
index cecff17..84e7aab 100644
--- a/device.mk
+++ b/device.mk
@@ -692,9 +692,6 @@ 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 \
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 4ade200..73ba083 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -287,17 +287,4 @@
<!-- 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>