Fixing leak in Launcher when shortcuts were installed from market

-> Issue 3418165

Change-Id: Ieee4c7ed436d0722a6352c30adfa5cbd02dd163a
This commit is contained in:
Adam Cohen
2011-02-03 12:55:38 -08:00
parent 4fcae11dca
commit f5d77c9e3f
+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();
}
/**