Merge "Reset alpha of media when not fading" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d3f247befc
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user