diff options
| author | 2023-04-13 21:01:11 +0000 | |
|---|---|---|
| committer | 2023-04-18 16:35:51 +0000 | |
| commit | 368b8b845f45b3380db7b0e1ab967b94c62ff642 (patch) | |
| tree | 1b8afabb1a3acea75a32c43bd3ddd07d2baaf7cb /graphics/java/android | |
| parent | 97f689db8aad8e550bb3035e0c748422633b62a5 (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 'graphics/java/android')
0 files changed, 0 insertions, 0 deletions