diff options
| author | 2024-11-13 15:58:14 +0800 | |
|---|---|---|
| committer | 2024-11-14 01:42:32 +0000 | |
| commit | 7be37b38cd0641e980e954129bb5de016c7fe32c (patch) | |
| tree | dfd3bbf25305643906200aa49474c80da0e67f48 /libs/androidfw/misc.cpp | |
| parent | 8ce40991fb51666921180b854508be100cc3eb00 (diff) | |
fix the CWE problem in Biometrics.
Multiple threads concurrently execute add operation and traversal operation, resulting in concurrent modification exception. We can replace the thread-unsafe ArrayList with the thread-safe CopyOnWriteArrayList.
Test: OEM monkey test
Flag: EXEMPT bugfix
Bug: 378809027
Change-Id: Id956bebe94cfd773b852292815bcee7f5d60bb77
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions