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

Commit 051d5d81 authored by Ale Nijamkin's avatar Ale Nijamkin
Browse files

[flexiglass] Adds logging reason in QS view-model

Missed this in code review on ag/34026665. Having good logging reasons
for scene/overlay changes in Flexiglass is crucial for debugging later
on.

Bug: 420960164
Test: not tested, logging change only
Flag: com.android.systemui.scene_container
Change-Id: Id441cb41f82534a89fa2079f5c2529016a7e7454
parent 388f0cd6
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -92,7 +92,12 @@ constructor(

            qsContainerViewModel.editModeViewModel.isEditing
                .filter { it }
                .onEach { sceneInteractor.changeScene(Scenes.QSEditMode, loggingReason = "") }
                .onEach {
                    sceneInteractor.changeScene(
                        Scenes.QSEditMode,
                        loggingReason = "Entering edit mode",
                    )
                }
                .launchIn(this)

            launch(context = mainDispatcher) {