audio: fix resume music not smooth after press end call with touch sound
There are three usecases, the first is low-latency-playback(touch sound),
the second is audio-playback-voip(end call tone), the third is
deep-buffer-playback or compress-offload-playback(Music).
When low-latency-playback stop, it will trigger reroute to handset for
audio-playback-voip first then reroute to speaker for deep-buffer-playback
or compress-offload-playback.
The fix is to trigger reroute only when audio-playback-voip stop.
Bug: 130128135
Test: Music resume smoothly after press end call button w/ touch sound
Change-Id: Id5e8cefd53a852d0ce98a9f5ce095bee5832cb5a
Signed-off-by:
Robert Lee <lerobert@google.com>
Loading
Please register or sign in to comment