commit | abd33b38e2a37ca24b70247fff9fe80b9e38b975 | [log] [tgz] |
---|---|---|
author | Stevie Kideckel <kideckel@google.com> | Wed Jun 02 16:57:18 2021 +0000 |
committer | Stevie Kideckel <kideckel@google.com> | Thu Jun 03 09:36:22 2021 +0000 |
tree | cccdab360b4d25898f07d445d8af46394ef2951d | |
parent | a4adcbc8eda249c3503e691d0b048df94cdc8483 [diff] |
Use the LayoutManager as the source of truth for visible positions During animations, the view group child may not correspond to the visible views that appear at the top. The previous logic is kept in the case that the layout manager returns null for any reason, which can happen before layout has occurred for the position. Fix: 189588014 Test: verified locally Change-Id: Ie8b5dcef50287e9e90a21f86e30a1ebcbbcba30f