Android 15 Beta 2 Release 0.7 (AP31.240426.022,shiba/husky)
Buffer: Fix race condition in enrolled buffer access

Accessing enrolled buffers from multiple clients is only
protected by a spinlock, which is a potential risk.
We should add a lock to protect the buffer access process
on multiple LWIS clients because it could be modified by
other processes, such as the disenroll buffer and delete list processes.

Bug: 330457969
Test: CTS, GCA SMOKE
Change-Id: Ib81f95e45afca6638b51cc0dc423561cabfdea7d
Signed-off-by: Nick Chung <nickchung@google.com>
(cherry picked from commit 155aaf52ceb09cbd0765e5c0419d9576969e7389)
1 file changed