summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2024-06-21 10:58:59 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2024-06-21 10:58:59 +0000
commita25fc68d3892efdaece3314e0ad92b976a1d16ec (patch)
treea3143126e5f4158b8c8b4956ee74a1f3b619dd6b /libs/androidfw/StringPool.cpp
parent2a2e0d1b8318cb1f0ea2508dc4b924f74300b367 (diff)
Fix concurrentModificationException of DevicePostureController listeners
Some listener ended up registering or unregistering other listeners while posture updates were sent. I coulnd't repro it, but we had a few reports from the field. I suspect there is a chain of calls that leads to the destruction of some objects (onDestroy) and triggers the postureController.removeListener, but only rarely. Fix: 345390663 Test: DevicePostureControllerImplTest Flag: NONE safe fix for rare and not reproducible exception Change-Id: I00b5813267e917c65ca269324a9f17783069fd82
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions