Create ViewModel for QS compose and a basic fragment
This is the first iteration of integrating the new QS into compose. It
achieves the following:
* Fragment integrated into NotificationShade
* Shows QQS when collapsed and QS when expanded
* Has all elements (tiles, brightness, footer, edit mode).
* Tiles and footer are clickable. Long click on tiles is broken
(b/358376794).
* Tests that show qqs/qs pass.
This creates a skeleton viewmodel to which calls will be forwarded from
the fragment (QS interface) that come from NPVC. That way it's
transparent for the current NPVC.
Missing:
* Animations and transitions
* Most calls into QS are Noop.
* No final UI (as that will be handled in the components).
Test: atest QSFragmentComposeViewModelTest
Test: atest PlatformScenarioTests
Bug: 353254347
Bug: 353253277
Bug: 353254131
Flag: com.android.systemui.qs_ui_refactor_compose_fragment
Change-Id: I44d835473591f4865696d6941c4b9223466e5aa3
diff --git a/packages/SystemUI/Android.bp b/packages/SystemUI/Android.bp
index 6d78705..5ea75be 100644
--- a/packages/SystemUI/Android.bp
+++ b/packages/SystemUI/Android.bp
@@ -748,6 +748,7 @@
"//frameworks/libs/systemui:motion_tool_lib",
"//frameworks/libs/systemui:contextualeducationlib",
"androidx.core_core-animation-testing",
+ "androidx.lifecycle_lifecycle-runtime-testing",
"androidx.compose.ui_ui",
"flag-junit",
"ravenwood-junit",
@@ -789,6 +790,7 @@
"SystemUI-tests-base",
"androidx.test.uiautomator_uiautomator",
"androidx.core_core-animation-testing",
+ "androidx.lifecycle_lifecycle-runtime-testing",
"mockito-target-extended-minus-junit4",
"mockito-kotlin-nodeps",
"androidx.test.ext.junit",