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

Commit 1a6d0fd7 authored by Darrell Shi's avatar Darrell Shi
Browse files

Do not override next keyguard when entering edit mode

This change removes the override of the next keyguard to GONE, and rely
on keyguard signals to determine that. This avoids a rare issue where
the override doesn't get properly cleared and it ends up in GONE state
(empty lockscreen) when leaving the hub.

Test: manual
Fix: 441276968
Flag: EXEMPT BUGFIX
Change-Id: Ie94761586057ce7229d87348b92baf5e3bd4b375
parent 05d5dc6c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@ import com.android.systemui.communal.ui.view.layout.sections.CommunalAppWidgetSe
import com.android.systemui.communal.ui.viewmodel.CommunalEditModeViewModel
import com.android.systemui.communal.util.WidgetPickerIntentUtils.getWidgetExtraFromIntent
import com.android.systemui.keyguard.domain.interactor.KeyguardInteractor
import com.android.systemui.keyguard.shared.model.KeyguardState
import com.android.systemui.log.LogBuffer
import com.android.systemui.log.core.Logger
import com.android.systemui.log.dagger.CommunalLog
@@ -256,7 +255,6 @@ constructor(
                    scene = CommunalScenes.Blank,
                    loggingReason = "edit mode opening",
                    transitionKey = CommunalTransitionKeys.ToEditMode,
                    keyguardState = KeyguardState.GONE,
                )

                // Wait for scene change to BLANK.