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

Commit ad1cd406 authored by Darrell Shi's avatar Darrell Shi Committed by Android (Google) Code Review
Browse files

Merge "Fix transition to LOCKSCREEN after hub timeout" into main

parents e86e616e a219ea39
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -102,7 +102,10 @@ constructor(
                powerInteractor.isAsleep,
                keyguardInteractor.isDreamingWithOverlay,
                keyguardInteractor.isKeyguardOccluded,
                keyguardInteractor.isKeyguardGoingAway,
                // This flow doesn't emit immediately after OOBE until the first time keyguard is
                // going away. Emit false here on start to avoid blocking emitting the next
                // keyguard state. See b/423563289.
                keyguardInteractor.isKeyguardGoingAway.onStart { emit(false) },
                keyguardInteractor.isKeyguardShowing,
            ) { asleep, dreaming, occluded, keyguardGoingAway, keyguardShowing ->
                if (asleep) {