Skip to content

Commit 67d37df

Browse files
Merge pull request #34 from scribd/griffinf/APT-10128-update-seeking-playback-progress
[APT-10128] Fixed the order of dispatched actions during seek related…
2 parents 7f123c9 + a8d0101 commit 67d37df

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Armadillo/src/main/java/com/scribd/armadillo/playback/PlaybackEngine.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ internal class ExoplayerPlaybackEngine(private var audioPlayable: AudioPlayable)
243243
}
244244

245245
private fun seekToExo(position: Milliseconds) {
246-
exoPlayer.seekTo(exoPlayer.currentMediaItemIndex, position.longValue)
247246
stateModifier.dispatch(PlaybackProgressAction(position, exoPlayer.playerDuration()))
247+
exoPlayer.seekTo(exoPlayer.currentMediaItemIndex, position.longValue)
248248
}
249249
}

RELEASE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Project Armadillo Release Notes
22

3+
## 1.3.2
4+
- Added a fix for order of dispatched actions during seek related events
5+
36
## 1.3.1
47
- Adds support for offline DRM for downloaded MPEG-DASH audio
58

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ org.gradle.jvmargs=-Xmx1536m
1212
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1313
# org.gradle.parallel=true
1414
PACKAGE_NAME=com.scribd.armadillo
15-
LIBRARY_VERSION=1.3.1
15+
LIBRARY_VERSION=1.3.2
1616
EXOPLAYER_VERSION=2.17.1
1717
RXJAVA_VERSION=2.2.4
1818
RXANDROID_VERSION=2.0.1

0 commit comments

Comments
 (0)