summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2024-10-22 11:36:04 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2024-10-23 17:02:00 +0000
commitb2c0762824b115a398b298f38e28cb2951c9c1bd (patch)
tree6d18e7787d90e65609cf8a778ebfa1ca8d2df795 /api/api_test.go
parente62e7c8391d142d4d71831845a1c5fa835d11f82 (diff)
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions