summaryrefslogtreecommitdiff
path: root/java/res
diff options
context:
space:
mode:
author Govinda Wasserman <gwasserman@google.com> 2024-12-13 19:34:20 -0500
committer Govinda Wasserman <gwasserman@google.com> 2024-12-13 19:41:51 -0500
commit5fd6cf8ddc2025504e322b3bb1174556a200d33b (patch)
treef1be69d1ebc00b845a49ee33835d0f217acfc308 /java/res
parenteffd3e6c1bba8d5d5ce8047b9a1e455816fcd4b3 (diff)
Fix Shareousel crash when recomposing
Recomposition could cause a crash when initial position was no longer in the LazyRow. This fixes it by encapsulating the problematic array indexing within the remember block so that it is only performed on the first composition when it is guaranteed to be a valid index position. Test: Manual test using ShareTest BUG: 383852288 Flag: EXEMPT Bugfix Change-Id: Ie6b322d449ddc5c83d9d4e481967c2511b165290
Diffstat (limited to 'java/res')
0 files changed, 0 insertions, 0 deletions