mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Fix the broken build from recent focus navigation handling code
(compilation error). Change-Id: I9beb63a88f8c7c247f397d0495501dbc0f637456
This commit is contained in:
@@ -326,7 +326,7 @@ public class FocusHelper {
|
||||
parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1);
|
||||
if (parent != null) {
|
||||
iconLayout = (CellLayout) parent.getParent();
|
||||
matrix = FocusLogic.createSparseMatrix(iconLayout, orientation,
|
||||
matrix = FocusLogic.createSparseMatrix(iconLayout,
|
||||
iconLayout.getCountX(), row);
|
||||
newIconIndex = FocusLogic.handleKeyEvent(keyCode, countX + 1, countY, matrix,
|
||||
FocusLogic.PIVOT, pageIndex - 1, pageCount);
|
||||
@@ -353,7 +353,7 @@ public class FocusHelper {
|
||||
parent = getCellLayoutChildrenForIndex(workspace, pageIndex + 1);
|
||||
if (parent != null) {
|
||||
iconLayout = (CellLayout) parent.getParent();
|
||||
matrix = FocusLogic.createSparseMatrix(iconLayout, orientation, -1, row);
|
||||
matrix = FocusLogic.createSparseMatrix(iconLayout, -1, row);
|
||||
newIconIndex = FocusLogic.handleKeyEvent(keyCode, countX + 1, countY, matrix,
|
||||
FocusLogic.PIVOT, pageIndex, pageCount);
|
||||
newIcon = parent.getChildAt(newIconIndex);
|
||||
|
||||
Reference in New Issue
Block a user