mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-01-27 19:13:26 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user