Fix adding widgets without config activities

- only affected Launcher when it wasn't on the 
system partition

Change-Id: Ia36d5a05463d7d3af0718cf694a0692a5098fc76
This commit is contained in:
Michael Jurka
2012-08-03 13:35:01 -07:00
parent 8a7d620aa0
commit 1637d6d64a
@@ -639,6 +639,9 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
mInflateWidgetRunnable = new Runnable() {
@Override
public void run() {
if (mWidgetCleanupState != WIDGET_BOUND) {
return;
}
AppWidgetHostView hostView = mLauncher.
getAppWidgetHost().createView(getContext(), mWidgetLoadingId, pInfo);
info.boundWidget = hostView;