AudioService: fix muteAwaitConnection device check
Add logs for muteAwaitConnection API calls.
Fix cancel operation by testing device equality with
AudioDeviceAttributes.equalTypeAddress instead of equals as the
device passed by the caller may have just been qualified by
type and address, and may not contain the actual profiles and
descriptors of a connected device.
Bug: 229806548
Test: atest com.google.android.gts.audioservice.AudioServiceHostTest#testMuteAwaitConnection
Change-Id: Id216e6d88859425f9fa49e45843f51ca83ae9b63
2 files changed