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

Commit 5e89bc7e authored by Eric Laurent's avatar Eric Laurent
Browse files

AudioService: BtHelper: Add missing GuardedBy comment

Add missing comment to synchronized method
BtHelper.stopAndRemoveClient() add by commit 7647273f.

Test: make
Change-Id: Ie80b1f8ed0ccfeb6017ec4b55f82ccb2af51574d
parent 559bf655
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -450,6 +450,7 @@ public class BtHelper {
    }

    @GuardedBy("AudioDeviceBroker.mDeviceStateLock")
    // @GuardedBy("BtHelper.this")
    private void stopAndRemoveClient(ScoClient client, @NonNull String eventSource) {
        AudioService.sDeviceLogger.log(new AudioEventLogger.StringEvent(eventSource));
        client.requestScoState(BluetoothHeadset.STATE_AUDIO_DISCONNECTED,