Merge "Separating methods for updating the model to a sepatate class." into ub-launcher3-master

This commit is contained in:
TreeHugger Robot
2017-02-16 21:56:39 +00:00
committed by Android (Google) Code Review
17 changed files with 450 additions and 372 deletions

View File

@@ -2146,7 +2146,7 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
info.spanY = lp.cellVSpan;
if (requiresDbUpdate) {
LauncherModel.modifyItemInDatabase(getContext(), info, container, screenId,
mLauncher.getModelWriter().modifyItemInDatabase(info, container, screenId,
info.cellX, info.cellY, info.spanX, info.spanY);
}
}