Stop clearing focus when snapping to a new workspace page.

am: 04e2c9ef56

* commit '04e2c9ef5663262fc9dd08ffc4b59fe305a017f3':
  Stop clearing focus when snapping to a new workspace page.
This commit is contained in:
Tony Wickham authored and android-build-merger committed 2015-11-03 22:07:57 +00:00
commit 38b1220767
2 files changed
-6

No files matched your search

-5
View File
@@ -2047,11 +2047,6 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
whichPage = validateNewPage(whichPage);
mNextPage = whichPage;
View focusedChild = getFocusedChild();
if (focusedChild != null && whichPage != mCurrentPage &&
focusedChild == getPageAt(mCurrentPage)) {
focusedChild.clearFocus();
}
pageBeginMoving();
awakenScrollBars(duration);