Skip to content
Commit c18e5a16 authored by Eric Laurent's avatar Eric Laurent
Browse files

AudioManager: relax exceptions for setCommunicationDevice

Do not throw an IllegalArgumentException exception in
setCommunicationDevice() if the selected device is not
connected any more but return false instead; This race
condition cannot be avoided programmatically.

Bug: 264837721
Test: manual regression tests for call routing

Change-Id: I6ba0c81b89a5871a210a115885836693e4972fcb
parent 2953bacf
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