diff options
-rw-r--r-- | src/com/android/launcher2/AllAppsView.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java index 6a6db7da6..cf752509e 100644 --- a/src/com/android/launcher2/AllAppsView.java +++ b/src/com/android/launcher2/AllAppsView.java @@ -1266,7 +1266,8 @@ public class AllAppsView extends RSSurfaceView * 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); |