diff options
| author | 2025-01-29 13:42:10 +0000 | |
|---|---|---|
| committer | 2025-01-31 16:38:07 +0000 | |
| commit | 12c575edd94c998c948bab69fbc925a552c38fd4 (patch) | |
| tree | 1258fc82b47175596101c7a62b481ac4a22eb4eb /opengl/java/android | |
| parent | d44604d29637518173d500362176c42e43e5ebe9 (diff) | |
[Dual Shade] Refactor ShadeHeader and ShadeOverlay UI code.
This includes simplifying the dependencies and structure of some of the
composables and view-models. This primarily includes:
* Avoiding passing factories to composables, but simpler types.
* Deleting some redundant state.
* Consolidating a few view models and associated factories to avoid
unnecessary duplicate instantiation.
* Avoid creating the QQS view model in Dual Shade code.
* Adds a few missing unit tests.
* Remove the reference to DualShade.isEnabled (the flag is deprecated).
BONUS: Fix bug where QS header would show on large screens; it should
only show on handheld.
Bug: 384766545
Test: Unit tests still pass.
Test: Added new unit tests.
Test: Manually verified shade layout on both narrow and large screens.
Flag: com.android.systemui.scene_container
Change-Id: Ia6bb2de5d5f3d134b66f0b9fe78807bb94e82615
Diffstat (limited to 'opengl/java/android')
0 files changed, 0 insertions, 0 deletions