summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
authorOlof Axelsson <olof.axelsson@sony.com>2020-11-23 13:01:22 +0100
committerEd Savage-Jones <edward.savage-jones@sony.com>2020-11-30 15:45:43 +0000
commited2716dd24357271de945e6e4cda5e859204b8b9 (patch)
tree53635fa8af5821689939289a5ed0a312f820e148 /cmds/bootanimation/BootAnimation.cpp
parent72cb973ac1a8be4063139fa99e4995acdef9855e (diff)
Fixed a race contidion in StorageManagerService
StorageManagerService#onVolumeStateChanged passes on a mutable object to onVolumeStateChangedLocked and onVolumeStateChangedAsync. This causes a race since the state of the object being passed can be updated while onVolumeStateChangedAsync is processing it. To fix this, a clone of the object is passed instead. Bug: 174056195 Test: atest AdoptableHostTest Test: atest com.android.tests.fused.host.FuseDaemonHostTest Change-Id: I4de32279ae740544bd3abe33d788ebdbef1eab00
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions