commit | 45eb20aeac9402d8253c6fef3b5b86d12df7cc75 | [log] [tgz] |
---|---|---|
author | kunleiz <kunleiz@codeaurora.org> | Tue Jul 03 19:55:17 2018 +0800 |
committer | kunleiz <kunleiz@codeaurora.org> | Thu Aug 02 13:00:19 2018 +0800 |
tree | f9025ed083ef809d6e213d492de501ed7730847b | |
parent | 0b5bf63cec484feba08b773184bc4069bc184633 [diff] |
policy: close voip output when new output is opened by same voip client When USB headset is inserted, VoIP client will stop current output and then open a new output. Due to voip usecase is not closed in time, the new output is opened in handset with FLAG_NONE and fallback to primary output. Fix it by closing voip output when a new output is opened by same voip client in different device. CRs-Fixed: 2272627 Change-Id: I71672675f13f58ed818117d5d0abe0d93204227e