summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Diego Vela <diegovela@google.com> 2023-04-13 21:01:11 +0000
committer Diego Vela <diegovela@google.com> 2023-04-21 02:11:54 +0000
commite214c94a8aa3a386c41eb0238a68ce5b00129b57 (patch)
tree372527641e4b120ab0424870e7ad816579834526 /cmds/bootanimation/BootAnimationUtil.cpp
parent6eda1790810f8a8260ae370e25cd83ac084efc86 (diff)
Fix deadlock in BaseDataProducer.
Move calls to abstract method outside the synchronized block. When they are in the synchronized block it can cause a deadlock in the following way. If two classes have locks and they interact through callbacks the aquiring the locks can have a mixed order. The mixed order causes a deadlock. Bug: 276436535 Test: Run foldable samples. Change-Id: Ie71ec56e7ba43976fee3e69f74ff386c79c96a7a
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions