Merge "Fix NPE when bubble being dragged out" into rvc-dev am: f9dea8b4b3 am: f833d5be76
Change-Id: I50e989c50ca34b94372562b0ca4e2545d5a8e2b6
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