commit | 5b5110a782716d014e73c13ff2c25d4384244a4a | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Wed Feb 28 11:06:52 2024 -0800 |
committer | Brandon Dayauon <brdayauon@google.com> | Wed Mar 06 18:13:16 2024 -0800 |
tree | 8fc85c606f4eaf788cec69296a3e20487c02a68a | |
parent | d0bec45d37c59090387ea5956d8bf3dcab2aab98 [diff] |
Change collapse to use adapterItems instead of getting the childCount() Using childCount() doesn't work since it only shows what is visible on the screen. This is an issue because if the header was somewhat slightly off screen, it wouldn't scroll up upon clicking the button. bug: 299294792 Test: before: https://drive.google.com/file/d/1T4rvfR3_rNmR8tRZheBXNbYjCrSubmy7/view?usp=sharing after: https://drive.google.com/file/d/1T4UdddM7MH4onEfNdyhDM-RowKHfvjop/view?usp=sharing Flag: ACONFIG com.android.launcher3.Flags.private_space_animation TRUNKFOOD Change-Id: I209e3ec707bfbdc2ef5e98034149459286903854