diff --git a/res/values/strings.xml b/res/values/strings.xml index 9823df3a03..60c0774ff8 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -190,11 +190,11 @@ - - Problem loading widget + + Can\'t load widget - - Setup + + Tap to finish setup This is a system app and can\'t be uninstalled. diff --git a/src/com/android/launcher3/widget/PendingAppWidgetHostView.java b/src/com/android/launcher3/widget/PendingAppWidgetHostView.java index 3308eecf5d..47a8914d2a 100644 --- a/src/com/android/launcher3/widget/PendingAppWidgetHostView.java +++ b/src/com/android/launcher3/widget/PendingAppWidgetHostView.java @@ -97,9 +97,9 @@ public class PendingAppWidgetHostView extends LauncherAppWidgetHostView @Override public void updateAppWidget(RemoteViews remoteViews) { - super.updateAppWidget(remoteViews); WidgetManagerHelper widgetManagerHelper = new WidgetManagerHelper(getContext()); if (widgetManagerHelper.isAppWidgetRestored(mInfo.appWidgetId)) { + super.updateAppWidget(remoteViews); reInflate(); } } @@ -149,7 +149,7 @@ public class PendingAppWidgetHostView extends LauncherAppWidgetHostView // The view displays three modes, // 1) App icon in the center // 2) Preload icon in the center - // 3) Setup icon in the center and app icon in the top right corner. + // 3) App icon in the center with a setup icon on the top left corner. if (mDisabledForSafeMode) { FastBitmapDrawable disabledIcon = info.newIcon(getContext()); disabledIcon.setIsDisabled(true);