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

Commit bf75a625 authored by Christian Göllner's avatar Christian Göllner
Browse files

[Motion] LS split shade: fix bad AOD <-> LS media transition

Excludes the media view container from the AOD <-> LS transition
as it was causing the media view to move and look strangely.

Fixes: 222044474
Fixes: 202930612
Test: Manually
Change-Id: Idec9700fa3aebe5065f95092c4fc55233066c7f6
parent cc9e1675
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1558,6 +1558,11 @@ public class NotificationPanelViewController extends PanelViewController
            constraintSet.connect(R.id.keyguard_status_view, END, statusConstraint, END);
            if (animate) {
                ChangeBounds transition = new ChangeBounds();
                if (mShouldUseSplitNotificationShade) {
                    // Excluding media from the transition on split-shade, as it doesn't transition
                    // horizontally properly.
                    transition.excludeTarget(R.id.status_view_media_container, true);
                }
                transition.setInterpolator(Interpolators.FAST_OUT_SLOW_IN);
                transition.setDuration(StackStateAnimator.ANIMATION_DURATION_STANDARD);
                TransitionManager.beginDelayedTransition(mNotificationContainerParent, transition);