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

Change-Id: I3dfddd471bfbe88f4c224a8c3db70eab45f458d6
This commit is contained in:
TreeHugger Robot
2020-04-06 21:25:40 +00:00
committed by Automerger Merge Worker

View File

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