From 41e3874d7206db561b6122ea1c621233b5d6f422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=B6llner?= Date: Fri, 17 Nov 2023 10:43:27 +0000 Subject: [PATCH] [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 --- comet/overlay/frameworks/base/core/res/res/values/config.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comet/overlay/frameworks/base/core/res/res/values/config.xml b/comet/overlay/frameworks/base/core/res/res/values/config.xml index 7720f55..ba0a076 100644 --- a/comet/overlay/frameworks/base/core/res/res/values/config.xml +++ b/comet/overlay/frameworks/base/core/res/res/values/config.xml @@ -277,7 +277,7 @@ m 0,0 V 136 - h -132 + h -136 V 0 z @right