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

Commit e86c0a80 authored by Alexander Hendrich's avatar Alexander Hendrich
Browse files

[flexiglass] Fix LOCK_ON_USER_SWITCH_CALLBACK not being called

KeyguardServiceShowLockscreenInteractor.onKeyguardServiceDoKeyguardTimeout() ensures the respective callback is added, but wasn't executed on flexiglass (SceneContainerFlag.isEnabled()).

Fixes: 412923724
Flag: com.android.systemui.scene_container
Test: manual test - switch user via login app with flexiglass enabled
Change-Id: Id324022337e8c26aa1714c977f3d47cb1fd41482
parent 824b69fc
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -669,7 +669,8 @@ public class KeyguardService extends Service {


            if (SceneContainerFlag.isEnabled()) {
            if (SceneContainerFlag.isEnabled()) {
                mDeviceEntryInteractorLazy.get().lockNow("doKeyguardTimeout");
                mDeviceEntryInteractorLazy.get().lockNow("doKeyguardTimeout");
            } else if (KeyguardWmStateRefactor.isEnabled()) {
            }
            if (KeyguardWmStateRefactor.isEnabled()) {
                mKeyguardServiceShowLockscreenInteractor
                mKeyguardServiceShowLockscreenInteractor
                        .onKeyguardServiceDoKeyguardTimeout(options);
                        .onKeyguardServiceDoKeyguardTimeout(options);
            }
            }