Merge "Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)" into jb-dev

This commit is contained in:
Winson Chung
2012-04-30 10:22:37 -07:00
committed by Android (Google) Code Review
7 changed files with 35 additions and 25 deletions
+2 -1
View File
@@ -1167,7 +1167,8 @@ public class LauncherModel extends BroadcastReceiver {
Launcher.sDumpLogs.add(log);
itemsToRemove.add(id);
} else {
appWidgetInfo = new LauncherAppWidgetInfo(appWidgetId);
appWidgetInfo = new LauncherAppWidgetInfo(appWidgetId,
provider.provider);
appWidgetInfo.id = id;
appWidgetInfo.screen = c.getInt(screenIndex);
appWidgetInfo.cellX = c.getInt(cellXIndex);