commit | c18e5a16de21dfa111309b16d0b5a24a849069ac | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Jan 20 19:30:09 2023 +0100 |
committer | Eric Laurent <elaurent@google.com> | Fri Jan 20 19:46:31 2023 +0100 |
tree | 7c49ce5024b0a462255a1e144daf631876074b34 | |
parent | 2953bacfde430601f5918503b2541c23c920f219 [diff] |
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