DO NOT MERGE "Set brightness threshold for high brightness"

Set 60Hz as default refresh rate in the blocking zone of
the high brightness.

Bug: 177636374
Test: atest DisplayModeDirectorTest
Test: no fps transition in the blocking zone when the display state change
Test: check if the lux will update when the display state change
Change-Id: I0bc670b4a283fbb6844b09e94ee8040e3f75a4e1
This commit is contained in:
raylinhsu
2021-01-15 03:07:12 +08:00
committed by Raylin Hsu
parent bd9748b91c
commit 15c519b4f1

View File

@@ -235,6 +235,19 @@
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
<integer name="config_defaultRefreshRateInZone">90</integer>
<!-- Switch to fixed refresh rate when display brightness setting is
equal or more than this value -->
<integer-array name="config_highDisplayBrightnessThresholdsOfFixedRefreshRate">
<item>255</item> <!-- 100% UI brightness -->
</integer-array>
<integer-array name="config_highAmbientBrightnessThresholdsOfFixedRefreshRate">
<item>50000</item>
</integer-array>
<!-- default refresh rate in the high zone defined by birghtness and ambient thresholds -->
<integer name="config_fixedRefreshRateInHighZone">60</integer>
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,