Merge "Fix NPE when bubble being dragged out" into rvc-dev am: f9dea8b4b3
Change-Id: Ic257c29d09dbfb0b0674a074285230bf34da72dd
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user