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

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

No files matched your search

+1 -1
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);
}
}