Merge "Fix NPE when bubble being dragged out" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-06 21:07:46 +00:00
committed by Android (Google) Code Review

View File

@@ -323,6 +323,9 @@ public class ExpandedAnimationController
/** Plays a dismiss animation on the dragged out bubble. */
public void dismissDraggedOutBubble(View bubble, Runnable after) {
if (bubble == null) {
return;
}
animationForChild(bubble)
.withStiffness(SpringForce.STIFFNESS_HIGH)
.scaleX(1.1f)