Audio : Fix output curActiveCount mismatch issue
In case of FM concurrency output curActiveCount was not getting updated
When FM device is connected then setDeviceConnectionStateInt is called
which was not updating the output curActiveCount because of which if any
other tracks were added the curActiveCount mismatch issue was occuring and
the AudioServer was dying.
As a solution to this problem start() and stop() are called when mRefCount is
updated in case of FM.
CRs-Fixed: 2230307
Change-Id: Ib591127bb60741228ec7ab2341e0512f8f05b5c0
1 file changed