mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Merge "Separating methods for updating the model to a sepatate class." into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
93bc3c1e41
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user