Loading
frameworks/base: Fix for seek issue while LPA Playback
- During LPA playback if we drag the progress bar to seek several times, it is observed that audio will play the sound of previous position for 2-3 sec. - When seek command is issued decoder thread is not blocked, which is trying to send data available at old position. Due to this we hear data available at old position for few seconds. - Block the decoder thread till all the buffers are flushed CRs-fixed: 358928 (cherry picked from commit 79165acf34bcd63de27dc735d807e0ef35d9d8c3) Change-Id: I05203de136430876e61d6ef53a8a45c8fa54cb56