Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[APT-10128] Fixed the order of dispatched actions during seek related…
… events Currently the order of the actions dispatched on a seeking action: Intial Seeking action (Skip distance, Prev chapter, seek position, etc.) Finish Seeking action because we immediately call exoplayer to seek to the new position and this triggers the Seek listeners with the current armadillo state without playback info being updated. Then dispatch PlaybackProgressAction with the new position that updates the armadillo state's playback info Instead we reverse the order of the finish seek action and PlaybackProgressAction so we are able to update the playback info progress before the finish seek occurs so it has the correctly updated playback info
- Loading branch information