PASSION ONLY - fix npe

This commit is contained in:
Joe Onorato
2009-10-02 10:22:23 -07:00
parent 08b5dfe0b9
commit 539ed9dfee
+4 -2
View File
@@ -288,8 +288,10 @@ public class AllAppsView extends RSSurfaceView
} }
mLastMotionX = -10000; mLastMotionX = -10000;
mVelocity.recycle(); if (mVelocity != null) {
mVelocity = null; mVelocity.recycle();
mVelocity = null;
}
break; break;
} }
} }