am 4700fed7: Maybe this will silence http://b/2460740

Merge commit '4700fed72b619a09a0d9cac93e86625b95c730dc' into eclair-plus-aosp

* commit '4700fed72b619a09a0d9cac93e86625b95c730dc':
  Maybe this will silence http://b/2460740
diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java
index f800881..fe9518b 100644
--- a/src/com/android/launcher2/AllAppsView.java
+++ b/src/com/android/launcher2/AllAppsView.java
@@ -1265,7 +1265,8 @@
          * Send the apps list structures to RS.
          */
         private void saveAppsList() {
-            if (mScript != null) { // this happens when we init it
+            // WTF: how could mScript be not null but mAllocIconIds null b/2460740.
+            if (mScript != null && mAllocIconIds != null) {
                 mRS.contextBindRootScript(null);
 
                 mAllocIconIds.data(mIconIds);