summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AllAppsView.java
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/com/android/launcher2/AllAppsView.java
parentbf5350db6166df369a4e22012bc0a7a122f39a51 (diff)
downloadandroid_packages_apps_Trebuchet-4700fed72b619a09a0d9cac93e86625b95c730dc.tar.gz
android_packages_apps_Trebuchet-4700fed72b619a09a0d9cac93e86625b95c730dc.tar.bz2
android_packages_apps_Trebuchet-4700fed72b619a09a0d9cac93e86625b95c730dc.zip
Maybe this will silence http://b/2460740
Diffstat (limited to 'src/com/android/launcher2/AllAppsView.java')
-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 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);