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

Commit 544ef065 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] Fixes bug where the swipe lockscreen would get skipped" into main

parents 50019da3 4db4e28c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -280,6 +280,8 @@ constructor(
        applicationScope.launch {
            sceneInteractor.currentScene.collectLatest { currentScene ->
                if (currentScene == Scenes.Lockscreen) {
                    // Wait for the screen to be on
                    powerInteractor.isAwake.first { it }
                    // Wait for surface to become visible
                    windowMgrLockscreenVisInteractor.surfaceBehindVisibility.first { it }
                    // Make sure the device is actually unlocked before force-changing the scene