diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2015-03-04 16:33:56 -0800 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2015-03-04 16:33:56 -0800 |
commit | ac721f8d5f869aa8a11cd247fe3ad5a7b3dd47cd (patch) | |
tree | 8b56edf7fe158c0a0e53fb82ba457d074e83de13 | |
parent | 38531719636eba7c924e3e71c583ebce2c89a1d0 (diff) | |
download | android_packages_apps_Trebuchet-ac721f8d5f869aa8a11cd247fe3ad5a7b3dd47cd.tar.gz android_packages_apps_Trebuchet-ac721f8d5f869aa8a11cd247fe3ad5a7b3dd47cd.tar.bz2 android_packages_apps_Trebuchet-ac721f8d5f869aa8a11cd247fe3ad5a7b3dd47cd.zip |
Fix the broken build from recent focus navigation handling code
(compilation error).
Change-Id: I9beb63a88f8c7c247f397d0495501dbc0f637456
-rw-r--r-- | src/com/android/launcher3/FocusHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/FocusHelper.java b/src/com/android/launcher3/FocusHelper.java index ebb319b0b..c16e45b31 100644 --- a/src/com/android/launcher3/FocusHelper.java +++ b/src/com/android/launcher3/FocusHelper.java @@ -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); |