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

Commit a2b3590b authored by Chandru S's avatar Chandru S
Browse files

Fix SFPS unlock not working while on Glanceable hub

Fixes: 398815692
Test: unit test
Test: verified manually that auth works on widgets screen
Flag: EXEMPT bugfix
Change-Id: Ifdd589be38192de320ca0c50a63eb44cc8af7ee9
parent 87651110
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -164,6 +164,9 @@ class LogContextInteractorImplTest : SysuiTestCase() {
            keyguardTransitionRepository.startTransitionTo(KeyguardState.PRIMARY_BOUNCER)
            assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN)

            keyguardTransitionRepository.startTransitionTo(KeyguardState.GLANCEABLE_HUB)
            assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN)

            keyguardTransitionRepository.startTransitionTo(KeyguardState.LOCKSCREEN)
            assertThat(displayState()).isEqualTo(AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN)

+1 −0
Original line number Diff line number Diff line
@@ -176,6 +176,7 @@ constructor(
            KeyguardState.LOCKSCREEN,
            KeyguardState.OCCLUDED,
            KeyguardState.ALTERNATE_BOUNCER,
            KeyguardState.GLANCEABLE_HUB,
            KeyguardState.PRIMARY_BOUNCER -> AuthenticateOptions.DISPLAY_STATE_LOCKSCREEN
            KeyguardState.AOD -> AuthenticateOptions.DISPLAY_STATE_AOD
            KeyguardState.OFF,