Merge "Reset alpha of media when not fading" into sc-dev am: d3f247befc

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

Change-Id: Ibdac9ca14b6a1cf8f1299e20657dd6d5dcb98b8d
This commit is contained in:
Beth Thibodeau
2021-07-23 22:46:51 +00:00
committed by Automerger Merge Worker

View File

@@ -423,6 +423,9 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha
if (mQsPanelController.shouldUseHorizontalLayout()
&& mQsPanelController.mMediaHost.hostView != null) {
builder.addFloat(mQsPanelController.mMediaHost.hostView, "alpha", 0, 1);
} else {
// In portrait, media view should always be visible
mQsPanelController.mMediaHost.hostView.setAlpha(1.0f);
}
mAllPagesDelayedAnimator = builder.build();
mAllViews.add(mSecurityFooter.getView());