summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.cpp
diff options
context:
space:
mode:
author Atneya Nair <atneya@google.com> 2024-08-28 17:05:50 -0700
committer Atneya Nair <atneya@google.com> 2024-08-28 17:05:50 -0700
commit2e148f187383b863b32ef8690cda8a3df5e9a7c6 (patch)
tree6307074d77ca6f338761f19bb1557600e0f15dba /libs/hwui/HardwareBitmapUploader.cpp
parent4f667c4e6149f87630e1abe426e4629b9ab9e949 (diff)
audio: Fix permission update race
There are some subtle races on iterating over a concurrent queue and aligning the task queue to the scheduler ordering. Move to an explicitly lock a regular list, which is fine since the lock is sparsely contended, has extremely tight critical sections, and is easier to reason about. Test: Manual + Cts Flag: com.android.media.audio.audioserver_permissions Bug: 362409920 Change-Id: I63c473d64a9b4b687c46b11dec882ea295ce6d36
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions