commit | e08be63b164199eefab4233f53ac9cf8d83f8b29 | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Thu Nov 02 18:33:16 2017 +0800 |
committer | Zhou Song <zhous@codeaurora.org> | Thu Nov 02 18:33:16 2017 +0800 |
tree | d62a5078a586d90bce6f0f7682c600867b046171 | |
parent | 4a30da7394684cd8e3cc174844ad910f4be994e8 [diff] |
policy_hal: restore device if it differs from the stopped output Currently, restore device for the output handle can be ignored if the new device is the same with current device of this output, this can lead playback for this output keeps on the route of the stopped output. Instead, need to compare the device with the previous active device of the stopped output to decide if it's a spurious routing request. Change-Id: I3e5eb8b3aa68b050a84515b50b9745864826129a CRs-Fixed: 2136994