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

Commit 2a76dcd0 authored by raylinhsu's avatar raylinhsu
Browse files

Set brightness threshold for high brightness

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

Bug: 166581675
Test: no fps transition in the blocking zone
Change-Id: Ib793bcc69f61452edb21b1bc957be255e50581d2
Merged-In: Ib793bcc69f61452edb21b1bc957be255e50581d2
parent b3dfcba7
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -234,4 +234,17 @@

    <!-- 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>
</resources>