diff options
author | Andrew Chant <achant@google.com> | 2018-02-12 18:47:26 -0800 |
---|---|---|
committer | Andrew Chant <achant@google.com> | 2018-02-13 16:51:34 -0800 |
commit | 278f4c9a05c75eac73b6a659798266504c95e2a0 (patch) | |
tree | 970c64aefaa9cabaac35fa4d64b1196564e5fa3a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions