Merge "Debug code for bug b/6830207" into jb-mr1-dev

This commit is contained in:
Michael Jurka
2012-09-05 03:24:45 -07:00
committed by Android (Google) Code Review
+3
View File
@@ -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);