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

Change-Id: I0671b1964b06837ec6c155ca965a73af7517c9dc
This commit is contained in:
TreeHugger Robot
2020-04-06 22:15:13 +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)