commit | b6545c449d391c5f116db1dd4da5c8b049dba392 | [log] [tgz] |
---|---|---|
author | Peter_Liang <peterliang@google.com> | Tue Apr 13 15:55:51 2021 +0800 |
committer | Peter_Liang <peterliang@google.com> | Thu Apr 22 23:05:39 2021 +0800 |
tree | 311c50baa327d271de1b79a67aaa6892a9a89c54 | |
parent | 463493f57ddd24e0a05bc0d0b6653057353b77a3 [diff] |
Fix the jelly effect when scrolling the a11y floating menu. Root cause: The default scroll mode of RecyclerView is scrollable. Solution: Set OVER_SCROLL_ALWAYS when the actual height of target list exceed the available height, otherwise OVER_SCROLL_NEVER. Bug: 184817161 Test: atest AccessibilityFloatingMenuViewTest Change-Id: I9a2bfd674141475e5546b1ed5450e65132ffd384