Merge "Fixing AppWidgetInfo not initialized with proper user" into ub-launcher3-burnaby

This commit is contained in:
Sunny Goyal 2015-07-16 01:13:01 +00:00 committed by Android (Google) Code Review
commit 36db85679d
1 changed files with 1 additions and 0 deletions

View File

@ -2209,6 +2209,7 @@ public class LauncherModel extends BroadcastReceiver
appWidgetInfo.cellY = c.getInt(cellYIndex);
appWidgetInfo.spanX = c.getInt(spanXIndex);
appWidgetInfo.spanY = c.getInt(spanYIndex);
appWidgetInfo.user = user;
if (container != LauncherSettings.Favorites.CONTAINER_DESKTOP &&
container != LauncherSettings.Favorites.CONTAINER_HOTSEAT) {