[Android] Fix audio player seek button issue
Nicolas Pomepuy
git at videolan.org
Tue Aug 13 10:27:05 CEST 2019
vlc-android | branch: 3.2.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Fri Aug 9 15:35:53 2019 +0200| [20c4d9859ebde571453664170f2d52a45b396980] | committer: Geoffrey Métais
Fix audio player seek button issue
(cherry picked from commit f54ef2bae3261ebc02695794e8079d46495a5ec3)
> https://code.videolan.org/videolan/vlc-android/commit/20c4d9859ebde571453664170f2d52a45b396980
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
index 540828c33..c11b64eb5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
@@ -526,7 +526,7 @@ class AudioPlayer : Fragment(), PlaylistAdapter.IPlayer, TextWatcher, CoroutineS
return true
}
- MotionEvent.ACTION_UP -> {
+ MotionEvent.ACTION_UP, MotionEvent.ACTION_CANCEL -> {
(if (forward) binding.next else binding.previous).setImageResource(this.normal)
handler.removeCallbacks(seekRunnable)
previewingSeek = false
More information about the Android
mailing list