commit | c0c831a8811b438093ca7f1d01b0ccf8c2a345d3 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Mon Jan 29 17:55:15 2018 -0800 |
committer | jiabin <jiabin@google.com> | Mon Jan 29 21:13:59 2018 -0800 |
tree | 5cf5f9aa3c6d0e6c55a1dfec40a7e322e42414f4 | |
parent | 3923b1b71628e668f9b11ed4891ed2840dd331cd [diff] |
Fix explicit routing failed. In AudioPolicyManager.getInputForAttr, we should get device descriptor from available input devices, but not output devices. When using output devices, the explicit routing will never work. Bug: 72670086 Test: run cts Change-Id: Ib37ffb70334afc6c7c8ddd7baf6439b146205d45