[Android] Fix audio player seek button issue

Nicolas Pomepuy git at videolan.org
Tue Aug 13 10:17:07 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Fri Aug  9 15:35:53 2019 +0200| [f54ef2bae3261ebc02695794e8079d46495a5ec3] | committer: Nicolas Pomepuy

Fix audio player seek button issue

> https://code.videolan.org/videolan/vlc-android/commit/f54ef2bae3261ebc02695794e8079d46495a5ec3
---

 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