Uwais Ashraf 4dc3313044 Use concurrent list to prevent ConcurrentModificationException
TasksRepository.setVisibleTasks can add/remove listeners while HighResLoadingState.updateState iterates over them.

Bug: 408978565
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: SwitchBackToSplitFromRecentGesturalNavLandscape#switchBackToSplitFromRecent
Test: Manual - made exception extremely likely by constantly adding/removing listeners. Could easily repro exceptions, then added this CL and could no longer repro.
Change-Id: Ic04717527fcbdb9301a6e313f9e666e2f5135b3e
2025-04-12 00:40:18 +00:00
2019-11-25 20:24:07 +09:00
2024-03-22 15:45:32 -07:00
S
Description
No description provided
658 MiB
Languages
Java 57.2%
Kotlin 42.4%
AIDL 0.3%