Merge "Show icon in PendingAppWidgetHostView immediately." into ub-launcher3-dorval-polish
This commit is contained in:
commit
825c3db194
4 files changed
+26
-4
No files matched your search
@@ -3615,6 +3615,9 @@ public class Launcher extends BaseActivity
|
||||
|
||||
LauncherAppWidgetInfo info = (LauncherAppWidgetInfo) view.getTag();
|
||||
info.restoreStatus = finalRestoreFlag;
|
||||
if (info.restoreStatus == LauncherAppWidgetInfo.RESTORE_COMPLETED) {
|
||||
info.pendingItemInfo = null;
|
||||
}
|
||||
|
||||
mWorkspace.reinflateWidgetsIfNecessary();
|
||||
getModelWriter().updateItemInDatabase(info);
|
||||
|
||||
Reference in new issue
Block a user