Comet: Define cutout behavior per rotation

Set the side preference cutout config field to let the cutout always be
on the same side as the system bars.

Bug: 302387383
Test: build and rotate the device
Change-Id: I3413164e97bdb89b23d96b2ff279af9aef75b9b3
This commit is contained in:
Yunfan Chen 2023-11-29 14:21:29 +09:00
parent 92c8e63572
commit 0d4741ee23

View file

@ -291,6 +291,12 @@
z
@right
</string>
<string-array name="config_mainBuiltInDisplayCutoutSideOverride" translatable="false">
<item>90,top</item>
<item>270,bottom</item>
</string-array>
<string translatable="false" name="config_secondaryBuiltInDisplayCutout">
m 581.5,86 a 41.5,41.5 0 0 0 -83,0 41.5,41.5 0 0 0 83,0 z
@left