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

Commit f47041c2 authored by Pranav Madapurmath's avatar Pranav Madapurmath
Browse files

Synchronize active bluetooth device

Ensure that we synchronize read/write on the active bluetooth device reference so that another thread doesn't modify it while it's being referenced. We were seeing instances where the active device was null even though there was an explicit NPE check before referencing it.

Bug: 382590000
Change-Id: I4eddb6e696717e136771c97f5f8f89a7173e646d
Test: atest CallAudioRouteControllerTest
Flag: EXEMPT bugfix
parent 7c364909
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