commit | d511538361fe9f20406e92b4f3dea66ac737663d | [log] [tgz] |
---|---|---|
author | Uwais Ashraf <[email protected]> | Mon Sep 16 23:04:38 2024 +0000 |
committer | Uwais Ashraf <[email protected]> | Tue Sep 17 14:54:08 2024 +0000 |
tree | 3217db9610d4c66460f505e924f06283f9b8db37 | |
parent | e14032d57840d75cc4a6cdc3e8c05c7241770560 [diff] |
Use ConcurrentHashMap to make private maps thread safe Also synchronize listener un/registering to prevent accumulation of listeners Fix: 365068571 Test: presubmit crash detector not triggered Test: TaskVisualsChangedDelegateTest Flag: com.android.launcher3.enable_refactor_task_thumbnail Change-Id: Ib15f44d8bca0e24173db3a16bc9184e73e30f4b4