am f5d77c9e: Fixing leak in Launcher when shortcuts were installed from market

* commit 'f5d77c9e3fb9238b52f53b57eaa7ad01a1328e25':
  Fixing leak in Launcher when shortcuts were installed from market
This commit is contained in:
Adam Cohen
2011-02-03 13:43:40 -08:00
committed by Android Git Automerger
+4
View File
@@ -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();
}
/**