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

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

Merge "[flexiglass] Adds CUI marker when locking and entering AOD" into main

parents 500a5280 146a5bf2
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -163,10 +163,6 @@ constructor(
    }

    private fun bindJankViewModel() {
        if (SceneContainerFlag.isEnabled) {
            return
        }

        jankHandle?.dispose()
        jankHandle =
            KeyguardJankBinder.bind(
+11 −7
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ import com.android.systemui.keyguard.shared.model.TransitionState
import com.android.systemui.keyguard.shared.model.TransitionStep
import com.android.systemui.keyguard.ui.viewmodel.KeyguardJankViewModel
import com.android.systemui.lifecycle.repeatWhenAttached
import com.android.systemui.scene.shared.flag.SceneContainerFlag
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.DisposableHandle
import kotlinx.coroutines.ExperimentalCoroutinesApi
@@ -79,6 +80,8 @@ object KeyguardJankBinder {
                    }
                }

                // The following is already done in KeyguardTransitionAnimationCallbackImpl.
                if (!SceneContainerFlag.isEnabled) {
                    launch {
                        viewModel.lockscreenToAodTransition.collect {
                            processStep(it, CUJ_LOCKSCREEN_TRANSITION_TO_AOD)
@@ -94,3 +97,4 @@ object KeyguardJankBinder {
            }
        }
    }
}