summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/CellLayout.java
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2011-01-07 10:08:48 -0800
committerJoe Onorato <joeo@google.com>2011-01-07 11:09:15 -0800
commit7cef289a32f8da507a26d46132eb8d875bee1c24 (patch)
treeb2398f6eb1791c09d4bb578d8189528fcc67d491 /src/com/android/launcher2/CellLayout.java
parente83b8acab104866637c82f02f53e0c8fe492b410 (diff)
downloadandroid_packages_apps_Trebuchet-7cef289a32f8da507a26d46132eb8d875bee1c24.tar.gz
android_packages_apps_Trebuchet-7cef289a32f8da507a26d46132eb8d875bee1c24.tar.bz2
android_packages_apps_Trebuchet-7cef289a32f8da507a26d46132eb8d875bee1c24.zip
Call through to super.removeallViews*().
Fixes the duplicate view bug by actually removing the views. Bug: 3165740 Change-Id: I18f26e4cf498e6d53825959a61d585fac2c89faa
Diffstat (limited to 'src/com/android/launcher2/CellLayout.java')
-rw-r--r--src/com/android/launcher2/CellLayout.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java
index 4e618aff1..121aa226d 100644
--- a/src/com/android/launcher2/CellLayout.java
+++ b/src/com/android/launcher2/CellLayout.java
@@ -646,11 +646,13 @@ public class CellLayout extends ViewGroup implements Dimmable {
@Override
public void removeAllViews() {
+ super.removeAllViews();
clearOccupiedCells();
}
@Override
public void removeAllViewsInLayout() {
+ super.removeAllViewsInLayout();
clearOccupiedCells();
}