Merge "Added Panel animation when media disappears from the expanded qs" into rvc-dev

This commit is contained in:
Selim Cinek
2020-06-26 17:52:33 +00:00
committed by Android (Google) Code Review

View File

@@ -96,6 +96,11 @@ public class QSContainerImpl extends FrameLayout {
mAnimateBottomOnNextLayout = true;
}
});
mQSPanel.setMediaVisibilityChangedListener((visible) -> {
if (mQSPanel.isShown()) {
mAnimateBottomOnNextLayout = true;
}
});
setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO);