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

Skip to content
Commit 5e9f4a0e authored by William Escande's avatar William Escande
Browse files

SystemServer: Remove un-necessary mAdapterLock

The lock is legacy. It comes from a times where there was multiples
thread that could update the mAdapter. This is no longer the case and
the only other thread that interact with mAdapter beside the main looper
is the binder thread.
The access to mAdapter from the binder thread is copying the value to
prevent asynchrone null set

Bug: 311772251
Test: atest CtsBluetoothTestCases
Test: atest pts-bot
Flag: Exempt refactor without logical change
Change-Id: I629c9992ef0d9849ad1301d45d127eaef7f1cb30
parent 010483ed
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