PASSION ONLY - fix npe
diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java
index 613cd97..653ac28 100644
--- a/src/com/android/launcher2/AllAppsView.java
+++ b/src/com/android/launcher2/AllAppsView.java
@@ -288,8 +288,10 @@
                 }
 
                 mLastMotionX = -10000;
-                mVelocity.recycle();
-                mVelocity = null;
+                if (mVelocity != null) {
+                    mVelocity.recycle();
+                    mVelocity = null;
+                }
                 break;
             }
         }