summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2013-02-06 13:43:54 +0100
committerMichael Jurka <mikejurka@google.com>2013-02-06 13:59:10 +0100
commit3c69decd81c9ae964849e998fae6d22a505e4368 (patch)
tree1b7ba019d9c996b0d97ca4ef682eecdc447a14eb /src
parent3f4e070aa58d51dd136885b4d3e2e6c5d9f93ea0 (diff)
downloadandroid_packages_apps_Trebuchet-3c69decd81c9ae964849e998fae6d22a505e4368.tar.gz
android_packages_apps_Trebuchet-3c69decd81c9ae964849e998fae6d22a505e4368.tar.bz2
android_packages_apps_Trebuchet-3c69decd81c9ae964849e998fae6d22a505e4368.zip
Fix crash caused by double loading of widget previews
Bug: 8146408
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/AppsCustomizePagedView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher2/AppsCustomizePagedView.java b/src/com/android/launcher2/AppsCustomizePagedView.java
index 82d595b3d..4ff799f66 100644
--- a/src/com/android/launcher2/AppsCustomizePagedView.java
+++ b/src/com/android/launcher2/AppsCustomizePagedView.java
@@ -1242,6 +1242,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
maxPreviewWidth, maxPreviewHeight, mWidgetCountX);
}
}
+ layout.setOnLayoutListener(null);
}
});
}