Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 923fbc39 authored by Jack He's avatar Jack He
Browse files

LeAudioService: Replace `synchronized(mGroupLock)` with ReentrantLock

So that we can flag the implementation to use ReentrantReadWriteLock
later

synchronized(object) {}

is equivalent to

mLock.lock();
try {} finally { mLock.unlock(); }

Bug: 325674688
Test: atest BluetoothInstrumentationTests
Flag: EXEMPT, mechanical refactor, no logical change
Change-Id: I666db6a8dd8e024f68e0b1092677a23744b16252
parent 98304c75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment