Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38343bc3 authored by Eugene Susla's avatar Eugene Susla
Browse files

Re-commit: Smooth scroll RecyclerView on a11y ACTION_SCROLL_*

This is consistent with the behavior of ListView and ScrollView for that action

This was previously reverted due to suspected perf regression which ended up
being unrelated. Re-committing this.

Bug: 63778054
Test: Go through bug steps and ensute it's fixed
Change-Id: I633294512f08ec31a0325c540881bbbcbcefe016
parent f7314652
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -9556,7 +9556,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro
            if (vScroll == 0 && hScroll == 0) {
            if (vScroll == 0 && hScroll == 0) {
                return false;
                return false;
            }
            }
            mRecyclerView.scrollBy(hScroll, vScroll);
            mRecyclerView.smoothScrollBy(hScroll, vScroll);
            return true;
            return true;
        }
        }