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

Change-Id: I109c7c98e870691ff7f7f483861b5d8026df7c07
This commit is contained in:
TreeHugger Robot
2020-04-06 21:44:23 +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. */
public void dismissDraggedOutBubble(View bubble, Runnable after) {
if (bubble == null) {
return;
}
animationForChild(bubble)
.withStiffness(SpringForce.STIFFNESS_HIGH)
.scaleX(1.1f)