Turn off rounded corners for letterbox by default.

Needed because rounded corners can lead to client composition with significant negative impact on performance.

Fix: 205812157
Test: manual
Change-Id: Idcfaf15fb667a0de0fb2e7942747cc472a0d429e
This commit is contained in:
Mariia Sandrikova
2021-11-19 16:24:54 +00:00
parent 5b9b66e85d
commit 9f2524be00

View File

@@ -4879,9 +4879,10 @@
the app in the letterbox mode. -->
<item name="config_fixedOrientationLetterboxAspectRatio" format="float" type="dimen">0.0</item>
<!-- Corners radius for activity presented the letterbox mode. Values < 0 will be ignored and
min between device bottom corner radii will be used instead. -->
<integer name="config_letterboxActivityCornersRadius">-1</integer>
<!-- Corners radius for activity presented the letterbox mode. Values < 0 enable rounded
corners with radius equal to min between device bottom corner radii. Default 0 value turns
off rounded corners logic in LetterboxUiController. -->
<integer name="config_letterboxActivityCornersRadius">0</integer>
<!-- Blur radius for the Option 3 in R.integer.config_letterboxBackgroundType. Values < 0 are
ignored and 0 is used. -->