diff options
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 533222d..168b754 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -1780,6 +1780,7 @@ public final class Launcher extends Activity final Workspace workspace = mWorkspace; int count = workspace.getChildCount(); for (int i = 0; i < count; i++) { + // Use removeAllViewsInLayout() to avoid an extra requestLayout() and invalidate(). ((ViewGroup) workspace.getChildAt(i)).removeAllViewsInLayout(); } |