diff options
author | Joe Onorato <joeo@google.com> | 2011-01-07 10:08:48 -0800 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2011-01-07 11:09:15 -0800 |
commit | 7cef289a32f8da507a26d46132eb8d875bee1c24 (patch) | |
tree | b2398f6eb1791c09d4bb578d8189528fcc67d491 /src/com | |
parent | e83b8acab104866637c82f02f53e0c8fe492b410 (diff) | |
download | packages_apps_trebuchet-7cef289a32f8da507a26d46132eb8d875bee1c24.zip packages_apps_trebuchet-7cef289a32f8da507a26d46132eb8d875bee1c24.tar.gz packages_apps_trebuchet-7cef289a32f8da507a26d46132eb8d875bee1c24.tar.bz2 |
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')
-rw-r--r-- | src/com/android/launcher2/CellLayout.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java index 4e618af..121aa22 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(); } |