commit | 7bc710b932e81c9662b3ea2e243dbc08e454d0cc | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Thu Sep 01 16:57:00 2022 +0000 |
committer | Phil Burk <philburk@google.com> | Thu Sep 01 20:44:59 2022 +0000 |
tree | e20fa7dc3ac791f6d8aaa3ce91c0a80c0cf5ed5a | |
parent | 54c39be8cb6c867528f201e4fc671c16b5f7548d [diff] |
aaudio: preserve requested device ID, fix regression This fixes a bug that caused the mDeviceId and the mRequestedDeviceId to be set to a specific device even when UNSPECIFIED was requested. That led to some streams not getting disconnected when they should. Bug: 242648766 Test: OboeTester TEST DISCONNECT Test: OboeTester TEST INPUT Test: open an MMAP stream and then plug in a headet Test: it should close the input stream. Change-Id: I51f0517e719b847f519bb08d3e5b0afb9b4d2f36