The initial densityMapping configuration had references from AOSP DisplayDeviceConfig.java template which actually has this inverted. Let's correct it to account for the native portrait orientation in phones. Change-Id: I07c9567c1d0c72b7ed77c1fe8fdf399bae30dd85
28 lines
977 B
XML
28 lines
977 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<displayConfiguration>
|
|
<densityMapping>
|
|
<density>
|
|
<height>2376</height>
|
|
<width>1080</width>
|
|
<density>450</density>
|
|
</density>
|
|
<density>
|
|
<height>3168</height>
|
|
<width>1440</width>
|
|
<density>560</density>
|
|
</density>
|
|
</densityMapping>
|
|
|
|
<highBrightnessMode enabled="true">
|
|
<transitionPoint>0.85</transitionPoint>
|
|
<minimumHdrPercentOfScreen>0.1</minimumHdrPercentOfScreen>
|
|
|
|
<minimumLux>10000</minimumLux>
|
|
<timing>
|
|
<timeWindowSecs>1800</timeWindowSecs> // Window in which we restrict HBM.
|
|
<timeMaxSecs>300</timeMaxSecs> // Maximum time of HBM allowed in that window.
|
|
<timeMinSecs>60</timeMinSecs> // Minimum time remaining required to switch
|
|
</timing> // HBM on for.
|
|
</highBrightnessMode>
|
|
</displayConfiguration>
|