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

Change-Id: Ic257c29d09dbfb0b0674a074285230bf34da72dd
This commit is contained in:
TreeHugger Robot
2020-04-06 21:25:59 +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)