PASSION ONLY - fix npe

This commit is contained in:
Joe Onorato
2009-10-02 10:22:14 -07:00
parent 08b5dfe0b9
commit 539ed9dfee
+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;
}
}