Add flag to match header density with the desktop windows'
In desktop windowing, tasks by default have a custom density applied to
them to optimize for the available display space. This change updates
the App Header's density to also use that custom density instead of
SysUI's density. This allows the header height to stay consistent on
density changes and allows apps using custom headers to more easily draw
content in the header.
Bug: 332414819
Test: m
Change-Id: I8345e6e530bd57b60f7374e5d08d7e307b0efc26
diff --git a/core/java/android/window/flags/lse_desktop_experience.aconfig b/core/java/android/window/flags/lse_desktop_experience.aconfig
index 760c916..f94766e 100644
--- a/core/java/android/window/flags/lse_desktop_experience.aconfig
+++ b/core/java/android/window/flags/lse_desktop_experience.aconfig
@@ -78,3 +78,10 @@
description: "Allows for additional windows tied to WindowDecoration to be layered between status bar and notification shade."
bug: "316186265"
}
+
+flag {
+ name: "enable_app_header_with_task_density"
+ namespace: "lse_desktop_experience"
+ description: "Matches the App Header density to that of the app window, instead of SysUI's"
+ bug: "332414819"
+}