summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-03-01 15:26:36 -0800
committerJoe Onorato <joeo@android.com>2010-03-01 15:26:36 -0800
commit4700fed72b619a09a0d9cac93e86625b95c730dc (patch)
treedb47ed3ea5b48c745b2dce21db2cb5c87c76e8af /src
parentbf5350db6166df369a4e22012bc0a7a122f39a51 (diff)
downloadpackages_apps_trebuchet-4700fed72b619a09a0d9cac93e86625b95c730dc.zip
packages_apps_trebuchet-4700fed72b619a09a0d9cac93e86625b95c730dc.tar.gz
packages_apps_trebuchet-4700fed72b619a09a0d9cac93e86625b95c730dc.tar.bz2
Maybe this will silence http://b/2460740
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/AllAppsView.java3
1 files changed, 2 insertions, 1 deletions
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 @@ 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);