Fix height and top padding of shade header and keyguard status bar
Values are now read from a central place, instead of directly from
resources.
Top padding is now also accounted for, which was introduced recently.
Flag: ACONFIG com.android.systemui.centralized_status_bar_dimens_refactor DISABLED
Fixes: 317016114
Fixes: 317016116
Test: Manual and unit tests
Change-Id: I339d3159f0b82a4118ae3e34c99c57e87990eb07
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index d9286b3..7ce1d79 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -248,6 +248,15 @@
}
flag {
+ name: "centralized_status_bar_dimens_refactor"
+ namespace: "systemui"
+ description: "Refactors shade header and keyguard status bar to read status bar dimens from a"
+ " central place, instead of reading resources directly. This is to take into account display"
+ " cutouts and other special cases. "
+ bug: "317199366"
+}
+
+flag {
name: "enable_layout_tracing"
namespace: "systemui"
description: "Enables detailed traversal slices during measure and layout in perfetto traces"