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

Skip to content
Commit 5b3775e2 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Add keyguardStateToCamera transition

The camera occluding activity can be launched
by double pressing the power button. When this happens, the first
power button press may immediately start a keyguard transition [1].
Then, the second power button press will launch the camera (an
occluding activity).

The desired behavior is to transition from the original state (before
any power button presses), rather than the started keyguard transition
from the first power button press [1]. Therefore, we use the 'from'
keyguardState of the last *finished* keyguard state rather than
the current running 'to' keyguard state.

Test: atest KeyguardTransitionInteractorTest
Fixes: 292506244
Change-Id: I50688200bb58515aa437747b9229e794f3d3a93c
parent 87a1f6a8
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