From 059798af0927ade335bd9ed7a552798b17690bd8 Mon Sep 17 00:00:00 2001 From: Michael Jurka Date: Tue, 4 Sep 2012 09:20:16 -0700 Subject: [PATCH] Debug code for bug b/6830207 Change-Id: Ic951fd448a74ac84398f3e4371b2410e295f0293 --- src/com/android/launcher2/Launcher.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 2fcf86925b..ab361f12f8 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -2474,6 +2474,9 @@ public final class Launcher extends Activity alphaAnim.addUpdateListener(new AnimatorUpdateListener() { @Override public void onAnimationUpdate(ValueAnimator animation) { + if (animation == null) { + throw new RuntimeException("animation is null"); + } float t = (Float) animation.getAnimatedValue(); dispatchOnLauncherTransitionStep(fromView, t); dispatchOnLauncherTransitionStep(toView, t);