am 539ed9df: PASSION ONLY - fix npe

Merge commit '539ed9dfee12564f0bf43822481c7a9b81e5d8b7'

* commit '539ed9dfee12564f0bf43822481c7a9b81e5d8b7':
  PASSION ONLY - fix npe
This commit is contained in:
Joe Onorato
2009-10-12 11:25:20 -07:00
committed by Android Git Automerger
+4 -2
View File
@@ -288,8 +288,10 @@ public class AllAppsView extends RSSurfaceView
}
mLastMotionX = -10000;
mVelocity.recycle();
mVelocity = null;
if (mVelocity != null) {
mVelocity.recycle();
mVelocity = null;
}
break;
}
}