Fix loading widgets in <include>d workspaces.

Resetting the item id was breaking the widget loading code
and is totally unnecessary.

Bug: 11352675
Change-Id: I2e70e542ecc5d8c0664b674ebdac5d520b71b8a0
This commit is contained in:
Daniel Sandler
2013-10-23 14:49:53 -04:00
committed by Dan Sandler
parent 4d3f022c9a
commit 55585dbc1d

View File

@@ -1046,7 +1046,6 @@ public class LauncherProvider extends ContentProvider {
// recursively load some more favorites, why not?
i += loadFavorites(db, resId);
added = false;
mMaxItemId = -1;
} else {
Log.w(TAG, String.format("Skipping <include workspace=0x%08x>", resId));
}