summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-07-28 15:31:50 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-07-28 15:55:50 +0000
commitc5482b12feea61dd1ba151531cfb78a2d179dda7 (patch)
treee3cb743b0a00ca277f3aef02a2c6d77d340409ee /libs/androidfw/StringPool.cpp
parent89563b52eaf8af7a4af18a5768e79d45c608d194 (diff)
Attempt to reduce race of WmTests
WmTests contains both e2e and mocked unit tests. The mocked tests are sensitive to concurrent issue. Such as if the activity is still destroying on main thread, then when the next test starts to establish mocked environment, it may throw ConcurrentModificationException when iterating invocation records because there is additional access from other thread. This change waits until the test activities are destroyed, that avoids overlapping with the next test. Bug: 293549565 Bug: 254268165 Test: TaskStackChangedListenerTest Change-Id: I1b2eb77585ba0a1ee936ee921af95e9c2113ec63
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions