Fade in expanded media player in landscape

Fixes: 191735427
Test: manual
Change-Id: Ie5c8315a562ab74379fa76928bd7e9fb06bafda0
This commit is contained in:
Beth Thibodeau
2021-07-01 11:12:33 -04:00
parent 9a8dedd696
commit 95b60922df

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());