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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user