commit | e0d004fe12fc2535d62d52bea0666b690ba057b0 | [log] [tgz] |
---|---|---|
author | Kevin Rocard <krocard@google.com> | Thu Oct 10 10:06:18 2019 +0000 |
committer | Kevin Rocard <krocard@google.com> | Thu Oct 10 17:00:19 2019 +0000 |
tree | a577aaf84c4c00e621d651077127352574dd8aeb | |
parent | 7db9e2b272f63641a54be1aaedd2e41d9bf0c0e2 [diff] [blame] |
Revert "audiopolicy: align input and output devices for engine" This reverts commit 4b8d5ce58d98d4a163f63e17735450a7cac4821c. Bug: 132241823 Reason for revert: Breaks Screen Mirroring during Live caption Change-Id: I4bf711e5c5e4233fcf58bda5477380b488fde2fa
diff --git a/services/audiopolicy/managerdefault/AudioPolicyManager.h b/services/audiopolicy/managerdefault/AudioPolicyManager.h index 93d67ea..e17ced8 100644 --- a/services/audiopolicy/managerdefault/AudioPolicyManager.h +++ b/services/audiopolicy/managerdefault/AudioPolicyManager.h
@@ -346,7 +346,7 @@ } virtual const DeviceVector getAvailableOutputDevices() const { - return mAvailableOutputDevices; + return mAvailableOutputDevices.filterForEngine(); } virtual const DeviceVector getAvailableInputDevices() const {