Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15c519b4 authored by raylinhsu's avatar raylinhsu Committed by Raylin Hsu
Browse files

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
parent bd9748b9
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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,