PASSION ONLY - fix npe

This commit is contained in:
Joe Onorato committed 2009-10-02 10:22:23 -07:00
1 parent 08b5dfe0b9
commit 539ed9dfee
1 file changed
+4 -2
+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;
}
}