mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Moving rearrangementExists to ReorderLogic since it's only used there
Also, simplify copyCurrentStateToSolution since it always gets false as the second parameter. Flag: NA Bug: 229292911 Test: ReorderAlgorithmUnitTest Change-Id: I025566897246fa59ca513cb7de9a12465054498f
This commit is contained in:
@@ -120,7 +120,7 @@ public class MultipageCellLayout extends CellLayout {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void copyCurrentStateToSolution(ItemConfiguration solution, boolean temp) {
|
||||
public void copyCurrentStateToSolution(ItemConfiguration solution) {
|
||||
int childCount = mShortcutsAndWidgets.getChildCount();
|
||||
for (int i = 0; i < childCount; i++) {
|
||||
View child = mShortcutsAndWidgets.getChildAt(i);
|
||||
|
||||
Reference in New Issue
Block a user