[Android] Audio service: fix a typo

Adrien Maglo git at videolan.org
Fri Jan 24 08:39:46 CET 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Jan 24 08:37:05 2014 +0100| [9469617acecfff80b76b76d09843405c7c41c8e1] | committer: Adrien Maglo

Audio service: fix a typo

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=9469617acecfff80b76b76d09843405c7c41c8e1
---

 vlc-android/src/org/videolan/vlc/AudioService.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index ea89852..2f27f0b 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -528,7 +528,7 @@ public class AudioService extends Service {
                         && positionEnd <= service.mCurrentIndex)
                     service.mCurrentIndex++;
                 else if (positionStart < service.mCurrentIndex
-                        && positionEnd >= service.mCurrentIndex)
+                        && positionEnd > service.mCurrentIndex)
                     service.mCurrentIndex--;
 
                 // If we are in random mode, we completely reset the stored previous track



More information about the Android mailing list