diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index a3b35dd7c7..6f40748825 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -3397,6 +3397,10 @@ public final class Launcher extends Activity } }); } + + // This wasn't being called before which resulted in a leak of AppWidgetHostViews (through + // mDesktopItems -> AppWidgetInfo -> hostView). + unbindDesktopItems(); } /**