From 4700fed72b619a09a0d9cac93e86625b95c730dc Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Mon, 1 Mar 2010 15:26:36 -0800 Subject: Maybe this will silence http://b/2460740 --- src/com/android/launcher2/AllAppsView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com/android/launcher2') diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java index f8008816f..fe9518b93 100644 --- a/src/com/android/launcher2/AllAppsView.java +++ b/src/com/android/launcher2/AllAppsView.java @@ -1265,7 +1265,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); -- cgit v1.2.3