commit | a1f9917243caafd1da5fa743c6fda1d0614ed167 | [log] [tgz] |
---|---|---|
author | Jungshik Jang <jayjang@google.com> | Fri Sep 05 21:25:48 2014 +0900 |
committer | Jungshik Jang <jayjang@google.com> | Fri Sep 05 21:25:48 2014 +0900 |
tree | 5ffd1f439162dab1f76b6b1bb51b03aa8f3901a8 | |
parent | 6a548e9114c4a283a6e08a2d35540f8549f44b82 [diff] |
Fix "invalid device combination" in system audio mode. HDMI-CEC system audio mode removes speaker from output list. It also has multiple outputs by connected outputs. However, getDeviceForVolume() doesn't cover multiple output with no speaker or bluetooth case. This change picks one of system audio outputs in order. Bug: 17400026 Change-Id: I102fd0052c9c4c9543f9e8f3b16ec6815d7485d8