diff options
| author | 2025-03-04 20:55:46 -0800 | |
|---|---|---|
| committer | 2025-03-04 21:16:21 -0800 | |
| commit | 07e08a37dc3d44568039adeeff57b0e80845a356 (patch) | |
| tree | 31c314ea8dfaea4d981867d269ccf657b60547aa /libs/androidfw/StringPool.cpp | |
| parent | 3fabb0ca3d4cd3b87b3033e7681f81b828bc65c9 (diff) | |
Fix UOE issue for immutable collection
As updateOverlaysForTarget returns an immutable collection,
which could cause UnsupportedOperationException when calling
CollectionUtils.addAll.
Test: Manual
Flag: EXEMPT bugfix
Signed-off-by: liulvping <liulvping@xiaomi.corp-partner.google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:a376480af1e76a642e17de4f41c80b6d8483fc85)
Merged-In: I6190f24a9bd5b5f2fed55953101036f9cb3e8ebc
Change-Id: I6190f24a9bd5b5f2fed55953101036f9cb3e8ebc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions