commit | 7f4bbfa599cdd047e469cb1d2d60dd00971ee1fd | [log] [tgz] |
---|---|---|
author | fbaron <fbaron@google.com> | Tue Sep 19 14:58:34 2023 -0700 |
committer | fbaron <fbaron@google.com> | Wed Sep 20 23:57:00 2023 -0700 |
tree | 13a7ef752e12964795d344827df5036e0e2bbaf9 | |
parent | c468af41399731c1df86163622c22dfc27a5a308 [diff] |
Fix indexoutofbounds folder preview The indexoutofbounds issue came from the fact that folder was being animated open when there are no items in preview. It might be a race condition where we try to open the folder at a time where it's actually being emptied. This check should prevent folders from running animateOpen() if there's <= 1 items, avoiding the outofbounds error Fix: 298740874 Flag: no flag Test: no test Change-Id: I31ed53fbdf22a7f19bc9ec414242312afe7c6cd2