Skip to content
Commit 5b65df1b authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

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
parent 8b7783d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment