Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c7280ebf authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

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
parent fda1f432
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment