redfin: Set brightness threshold for peak refresh rate
Set 90Hz as default refresh rate in the blocking zone Bug: 156462520 Test: no fps transition in the blocking zone Change-Id: Iac4c8ef6a36e4d3a108bb9a17716c7c729e513db
This commit is contained in:
parent
cca0ae7a80
commit
cd6613117b
|
@ -219,4 +219,16 @@
|
|||
<dimen name="quick_qs_offset_height">136px</dimen>
|
||||
<!-- Total height of QQS (quick_qs_offset_height + 128) -->
|
||||
<dimen name="quick_qs_total_height">488px</dimen>
|
||||
|
||||
<!-- Not allow to switch to higher refresh rate when display brightness setting is
|
||||
equal or less than this value -->
|
||||
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
|
||||
<item>10</item> <!-- 33% UI brightness -->
|
||||
</integer-array>
|
||||
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
|
||||
<item>-1</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
|
||||
<integer name="config_defaultRefreshRateInZone">90</integer>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue