diff --git a/Armadillo/src/main/java/com/scribd/armadillo/playback/PlaybackEngine.kt b/Armadillo/src/main/java/com/scribd/armadillo/playback/PlaybackEngine.kt index 5935668..5d9c341 100644 --- a/Armadillo/src/main/java/com/scribd/armadillo/playback/PlaybackEngine.kt +++ b/Armadillo/src/main/java/com/scribd/armadillo/playback/PlaybackEngine.kt @@ -243,7 +243,7 @@ internal class ExoplayerPlaybackEngine(private var audioPlayable: AudioPlayable) } private fun seekToExo(position: Milliseconds) { - exoPlayer.seekTo(exoPlayer.currentMediaItemIndex, position.longValue) stateModifier.dispatch(PlaybackProgressAction(position, exoPlayer.playerDuration())) + exoPlayer.seekTo(exoPlayer.currentMediaItemIndex, position.longValue) } } \ No newline at end of file diff --git a/RELEASE.md b/RELEASE.md index feee41f..ffd0436 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,5 +1,8 @@ # Project Armadillo Release Notes +## 1.3.2 +- Added a fix for order of dispatched actions during seek related events + ## 1.3.1 - Adds support for offline DRM for downloaded MPEG-DASH audio diff --git a/gradle.properties b/gradle.properties index 280d925..1fb9cb9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ org.gradle.jvmargs=-Xmx1536m # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true PACKAGE_NAME=com.scribd.armadillo -LIBRARY_VERSION=1.3.1 +LIBRARY_VERSION=1.3.2 EXOPLAYER_VERSION=2.17.1 RXJAVA_VERSION=2.2.4 RXANDROID_VERSION=2.0.1