AudioService: BtHelper: Add missing GuardedBy comment

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

Test: make
Change-Id: Ie80b1f8ed0ccfeb6017ec4b55f82ccb2af51574d
This commit is contained in:
Eric Laurent
2020-09-17 12:54:49 -07:00
parent 559bf65528
commit 5e89bc7e8b

View File

@@ -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,