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