diff options
author | alanv <alanv@google.com> | 2012-05-03 12:25:48 -0700 |
---|---|---|
committer | alanv <alanv@google.com> | 2012-05-03 12:25:48 -0700 |
commit | 291d3b80b85b9cf19fcb43fe16912f21674ca860 (patch) | |
tree | 98bd2081120dfeafc6e6cdff65b12e27d8f2bc96 | |
parent | ac4ff5e8147b34bb556a1524524bf09b24d05723 (diff) | |
download | android_packages_apps_Trebuchet-291d3b80b85b9cf19fcb43fe16912f21674ca860.tar.gz android_packages_apps_Trebuchet-291d3b80b85b9cf19fcb43fe16912f21674ca860.tar.bz2 android_packages_apps_Trebuchet-291d3b80b85b9cf19fcb43fe16912f21674ca860.zip |
Pass focusableMode when adding focusables from PagedView.
Bug: 6421918
Change-Id: I9eb7c6fbb6654821642403f09baa5cb2536b5af4
-rw-r--r-- | src/com/android/launcher2/PagedView.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java index adfe0de81..a5539db66 100644 --- a/src/com/android/launcher2/PagedView.java +++ b/src/com/android/launcher2/PagedView.java @@ -837,15 +837,15 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc @Override public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { if (mCurrentPage >= 0 && mCurrentPage < getPageCount()) { - getPageAt(mCurrentPage).addFocusables(views, direction); + getPageAt(mCurrentPage).addFocusables(views, direction, focusableMode); } if (direction == View.FOCUS_LEFT) { if (mCurrentPage > 0) { - getPageAt(mCurrentPage - 1).addFocusables(views, direction); + getPageAt(mCurrentPage - 1).addFocusables(views, direction, focusableMode); } } else if (direction == View.FOCUS_RIGHT){ if (mCurrentPage < getPageCount() - 1) { - getPageAt(mCurrentPage + 1).addFocusables(views, direction); + getPageAt(mCurrentPage + 1).addFocusables(views, direction, focusableMode); } } } |