Remove shadows from app launch animation

The Material You style proposes a flat model without shadows.

This will also help us reduce overdraw because shadows are drawn in
client composition, causing an almost full screen redraw, given that
shadows have the size of the window, which is not usually marked as
opaque.

Bug: 188420494
Test: manual
Change-Id: I5073788a247ea9084b8e3399d4ca8618c21b8d6b
This commit is contained in:
Lucas Dupin committed 2021-05-19 09:01:38 -07:00
1 parent e227451142
commit 3e19e57d22
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@
<dimen name="recents_empty_message_text_size">16sp</dimen>
<dimen name="recents_empty_message_text_padding">16dp</dimen>
<dimen name="max_shadow_radius">5dp</dimen>
<dimen name="max_shadow_radius">0dp</dimen>
<!-- Total space (start + end) between the task card and the edge of the screen
in various configurations -->