mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user