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);