[Comet] Tweak cutout rect approximation to be 56p in width and height

The specs say that the status bar and nav bar should be 56dp tall when
they contain the cutout. For the status bar this is when the cutout is
at the top (rotation 0 and rotation 90). For the nav bar this is when
the cutout is at the bottom (rotation 180 and rotation 270).

The status bar and nav bar have logic to make their height to be at
least as tall as the cutout rect approximation.

Fixes: 309773362
Bug: 299908906
Test: Manual
Change-Id: I1c01280558b145280449a8c199f680c1e4304ee6
This commit is contained in:
Chris Göllner 2023-11-17 10:43:27 +00:00
parent 5e2daa3db3
commit 41e3874d72

View file

@ -277,7 +277,7 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
m 0,0
V 136
h -132
h -136
V 0
z
@right