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

Commit a68f5024 authored by Brad Hinegardner's avatar Brad Hinegardner
Browse files

Remove blueprints delayedTransition

The delayed transition was animating all elements unless excluded,
which we may not want right now. More robust transitions between
blueprints are not using this anyways, and this was causing some
unwanted translation animations.

Fixes: 320736160
Flag: ACONFIG com.android.systemui.keyguard_bottom_area_refactor STAGING
Test: manual - unfold and fold device on lockscreen and observe no lock icon or indication text animation
Change-Id: I89df0570d9be4583086c2242280b2a4899110c71
parent 6969fe07
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import androidx.constraintlayout.widget.ConstraintLayout
import androidx.constraintlayout.widget.ConstraintSet
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.repeatOnLifecycle
import com.android.systemui.Flags.keyguardBottomAreaRefactor
import com.android.systemui.keyguard.ui.view.layout.blueprints.transitions.BaseBlueprintTransition
import com.android.systemui.keyguard.ui.viewmodel.KeyguardBlueprintViewModel
import com.android.systemui.lifecycle.repeatWhenAttached
@@ -53,7 +54,8 @@ class KeyguardBlueprintViewBinder {
                                }

                            // Apply transition.
                            if (prevBluePrint != null && prevBluePrint != blueprint) {
                            if (!keyguardBottomAreaRefactor() && prevBluePrint != null &&
                                prevBluePrint != blueprint) {
                                TransitionManager.beginDelayedTransition(
                                    constraintLayout,
                                    BaseBlueprintTransition()