Commit 85bb3111 authored by Lakshman Chaluvaraju's avatar Lakshman Chaluvaraju
Browse files

audiopolicy: Close the voip output before track is invalidated

With 3rd party voip application, compress voip usecase is
failed to be selected by policy when headset is inserted during
voip call.
Audio policy invalidates the track first and then closes the
direct output. Voip output count is not reset to 0 when new track
is created from restoreTrack. APM rejects voip usecae due to
this reason.
Close voip output before invalidating the track to avoid this
issue.

CRs-Fixed: 2251583
Change-Id: I7487c779f48304e3825562fb4bf8ca8fcbb68a59
parent cdca839b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment