diff options
| author | 2024-06-21 10:58:59 +0000 | |
|---|---|---|
| committer | 2024-07-26 02:03:23 +0000 | |
| commit | 2e51f187712a4191d86755cf2eb9c2aa8429ccf1 (patch) | |
| tree | 3991c302dafa68105788045af2c80c941f6a2b76 /cmds/bootanimation/BootAnimation.cpp | |
| parent | e0f0bde0bc2c59fd57adf5e84e5c843eb706a402 (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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a25fc68d3892efdaece3314e0ad92b976a1d16ec)
Merged-In: I00b5813267e917c65ca269324a9f17783069fd82
Change-Id: I00b5813267e917c65ca269324a9f17783069fd82
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions