Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb5b2534 authored by Beth Thibodeau's avatar Beth Thibodeau Committed by Automerger Merge Worker
Browse files

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

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

Change-Id: I656b86eeed181b56e2e8832fe501e7024fb56ae1
parents 36caec19 a49c9165
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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());