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

Commit b28af72b authored by Andreas Miko's avatar Andreas Miko
Browse files

Fix modeOnCanceled for LOCKSCREEN <=> AOD transitions

The condition was recently refactored in ag/26333297 and can't become
true as it is.

Test: atest SystemUITests
Bug: 307976454
Flag: ACONFIG com.android.systemui.keyguard_wm_state_refactor DEVELOPMENT
Change-Id: Ic528375627d01c5166e5c44a37f1f431987b5043
parent 4d5685ae
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -357,7 +357,8 @@ constructor(
                from = KeyguardState.LOCKSCREEN,
                modeOnCanceledFromStartedStep = { startedStep ->
                    if (
                        startedStep.to == KeyguardState.AOD && startedStep.from == KeyguardState.AOD
                        transitionInteractor.asleepKeyguardState.value == KeyguardState.AOD &&
                            startedStep.from == KeyguardState.AOD
                    ) {
                        TransitionModeOnCanceled.REVERSE
                    } else {