Merge "Added Panel animation when media disappears from the expanded qs" into rvc-dev am: 6f64b30362
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12005894 Change-Id: I4867394316dbadfb253923b4ba3a3eeedb1787e4
This commit is contained in:
@@ -96,6 +96,11 @@ public class QSContainerImpl extends FrameLayout {
|
||||
mAnimateBottomOnNextLayout = true;
|
||||
}
|
||||
});
|
||||
mQSPanel.setMediaVisibilityChangedListener((visible) -> {
|
||||
if (mQSPanel.isShown()) {
|
||||
mAnimateBottomOnNextLayout = true;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO);
|
||||
|
||||
Reference in New Issue
Block a user