| commit | 278f4c9a05c75eac73b6a659798266504c95e2a0 | [log] [tgz] |
|---|---|---|
| author | Andrew Chant <achant@google.com> | Mon Feb 12 18:47:26 2018 -0800 |
| committer | Andrew Chant <achant@google.com> | Tue Feb 13 16:51:34 2018 -0800 |
| tree | 970c64aefaa9cabaac35fa4d64b1196564e5fa3a | |
| parent | 07a97da51fc7d43db9903d793d614340b1cf3b67 [diff] |
Add a selected UsbAlsaDevice Keep track of the currently selected UsbAlsaDevice in a synchronized manner. Allow it to notify AudioService that it has been disabled prior to replacing it with a new Audio Device. Test: verified audio worked as expected when using both UAC2 and non-UAC2 3.5mm adapters, with 3.5mm plugging/unplugging and USB-C plugging/unplugging. Change-Id: I8b76145490da38d4eec25f4f2bdb6695afa151b9