Introduce Shade configuration controller
This introduces a new configuration controller for the Shade, enabling it to adapt to per-display settings. Previously, the Shade relied on global configuration from SystemUIApplication, which is unsuitable for multi-display environments.
Now, the Shade obtains configuration from its associated window's root view. This ensures that when the Shade is moved to an external display, the correct configuration is applied.
This change is guarded by a feature flag. When disabled, the existing global configuration mechanism remains active.
This commit focuses on migrating Shade components within the /systemui/shade directory to the new per-display configuration controller. Further changes will address remaining components in subsequent commits.
Bug: 362719719
Bug: 374267505
Test: NotificationShadeWindowViewTest + presubmits
Flag: com.android.systemui.shade_window_goes_around
Change-Id: Id5a97ac717674e1c610f53b7a129c386d192a558
12 files changed