summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2012-04-25 16:01:01 -0700
committerWinson Chung <winsonc@google.com>2012-04-25 16:01:43 -0700
commit83687b1e5bd887cb9eb3566fe27745c1b31d09f8 (patch)
tree535410315671dab0b2a12a6c5e16b2c78305de5e /src/com/android
parent58039d634cb36da561501ccfafc266e1d83d0b4f (diff)
downloadandroid_packages_apps_Trebuchet-83687b1e5bd887cb9eb3566fe27745c1b31d09f8.tar.gz
android_packages_apps_Trebuchet-83687b1e5bd887cb9eb3566fe27745c1b31d09f8.tar.bz2
android_packages_apps_Trebuchet-83687b1e5bd887cb9eb3566fe27745c1b31d09f8.zip
Remove all deferred widget pages when we cancel all tasks. (Potential fix for bug 6387680)
Change-Id: I65ad089ff20daffdc8ba09d975ac31e87965a4a7
Diffstat (limited to 'src/com/android')
-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 2935ceaaa..895d4ddc6 100644
--- a/src/com/android/launcher2/AppsCustomizePagedView.java
+++ b/src/com/android/launcher2/AppsCustomizePagedView.java
@@ -859,6 +859,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
iter.remove();
mDirtyPageContent.set(task.page, true);
}
+ mDeferredSyncWidgetPageItems.clear();
}
public void setContentType(ContentType type) {