summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDoris Ling <dling@google.com>2017-12-04 11:12:26 -0800
committerDoris Ling <dling@google.com>2017-12-07 12:50:57 -0800
commit6ba87706fe200f741fdb64b2f1a6d1028851463b (patch)
tree50a4ffbfd5010056789a961b9e8f4bbb5b52c111 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent839edb1781264eb268711075add1e4e31a18caed (diff)
Fix ConcurrentModificationException in DashboardCategory.
- When getting the copy of dashboard tiles, create a new list instead of getting the unmodifiable list, as the underlying implementation of the unmodifiable list actually access the original list directly. This getTiles() method is meant to return a copy of the list of tiles to avoid concurrent access to the original list, so, it needs a copy instead of a direct reference to the original list. - synchrnoized all updater methods in DashboardCategory Change-Id: I696b669f39fea5019a3b12ca73da47a7c11b03fb Fixes: 69677575 Test: make RunSettingsLibRoboTests
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions