commit | b3f8ff4cceeda3dd1e3c95390df1aa161c523828 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Tue Jul 02 09:36:43 2024 -0700 |
committer | Bryce Lee <brycelee@google.com> | Wed Jul 10 10:57:41 2024 -0700 |
tree | 037c5032e6e39515d508101fc552f7b55a2d45bc | |
parent | 03e4b97a74ac116d2337ddf1fa1c6b153807d7cc [diff] |
Sync scroll position between glanceable hub and edit mode. This changelist saves the latest scroll position when entering and exiting edit mode so the grid is at the same position between both views. Test: atest CommunalViewModelTest#scrollPosition_persistedOnEditEntry Test: atest CommunalEditModeViewModelTest#scrollPosition_persistedOnEditCleanup Fixes: 343463302 Flag: com.android.systemui.communal_hub Change-Id: Ibf4f8de4fc125bf1979e1cc0293681e338102e24