commit | 2c8b9baebc0bb395624788f52861959cb7c0c961 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Mar 08 15:54:57 2021 +0100 |
committer | Eric Laurent <elaurent@google.com> | Mon Mar 08 17:11:27 2021 +0100 |
tree | 43c8b7b7001196185a535df9e5d7e7cf0d4891db | |
parent | 060b1b49f95f14b8c387f46b6a318e26255b2528 [diff] |
AudioDeviceBroker: fix communication route update Fix missing call to onUpdateCommunicationRoute() when the audio mode is changing from RINGTONE to IN_COMMUNICATION/IN_CALL but the mode owner remains the same. Also: - Rename getPreferredDeviceForComm() to getPreferredCommunicationDevice() - Add some logging. Bug: 181108983 Test: manual audio call routing tests Change-Id: I29827d1c5a4cb0598a60e2cb3eccb9a52b210797