Disable UI width cap so display renders at native resolution
This commit is contained in:
parent
437045a987
commit
ada397e2c6
2 changed files with 12 additions and 1 deletions
|
|
@ -15,5 +15,5 @@
|
|||
<overlay
|
||||
android:targetPackage="android"
|
||||
android:isStatic="true"
|
||||
android:priority="0" />
|
||||
android:priority="10" />
|
||||
</manifest>
|
||||
|
|
|
|||
|
|
@ -48,4 +48,15 @@
|
|||
<bool name="config_cecTvSendStandbyOnSleepEnabled_default">false</bool>
|
||||
<bool name="config_cecTvSendStandbyOnSleepDisabled_default">true</bool>
|
||||
|
||||
<!-- Maximum width, in pixels, to restrain the UI layer-stack to; height and
|
||||
density are scaled to match, then SurfaceFlinger upscales to the panel.
|
||||
The stock Android TV framework overlay (TvFrameworkOverlay) sets this to
|
||||
1280 in its values-tvdpi bucket, which this device resolves. That caps a
|
||||
native 1920x1080 panel to a 1280x720 @ 320dpi logical display, making the
|
||||
whole UI render oversized (SurfaceFlinger scales 720p -> 1080p) and making
|
||||
the Settings "Resolution" picker a no-op (the layer stack is capped
|
||||
regardless of the scanout mode). 0 disables the cap so the UI renders at
|
||||
the panel's native resolution. -->
|
||||
<integer name="config_maxUiWidth">0</integer>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue