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

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

Change-Id: I07ff29f89c5e3aef6b823510d8a5264e8d1db73a
This commit is contained in:
Beth Thibodeau
2021-07-01 21:56:20 +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());