Merge "[Motion] LS split shade: fix bad AOD <-> LS media transition" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ecd166ee7c
@@ -1467,6 +1467,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);
|
||||
|
||||
Reference in New Issue
Block a user