Merge "Fade in expanded media player in landscape" into sc-dev am: 37e2de8f64 am: 3531586d85

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15174572

Change-Id: I28c8aad774820e22f5d898255faf314337e0303c
This commit is contained in:
Beth Thibodeau
2021-07-01 22:01:08 +00:00
committed by Automerger Merge Worker

View File

@@ -417,6 +417,10 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha
// Fade in the security footer and the divider as we reach the final position
builder = new Builder().setStartDelay(EXPANDED_TILE_DELAY);
builder.addFloat(mSecurityFooter.getView(), "alpha", 0, 1);
if (mQsPanelController.shouldUseHorizontalLayout()
&& mQsPanelController.mMediaHost.hostView != null) {
builder.addFloat(mQsPanelController.mMediaHost.hostView, "alpha", 0, 1);
}
mAllPagesDelayedAnimator = builder.build();
mAllViews.add(mSecurityFooter.getView());
translationYBuilder.setInterpolator(mQSExpansionPathInterpolator.getYInterpolator());