Merge "Fix NPE when bubble being dragged out" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f9dea8b4b3
@@ -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