[Android] Trigger next/previous on Android 4
Geoffrey Métais
git at videolan.org
Thu Jun 1 14:55:15 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun 1 13:40:39 2017 +0200| [8fba87bf46ecd6061dea1042f6b92df2e53f0246] | committer: Geoffrey Métais
Trigger next/previous on Android 4
Close #283
> https://code.videolan.org/videolan/vlc-android/commit/8fba87bf46ecd6061dea1042f6b92df2e53f0246
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 43535aa84..5bb4125b0 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1144,7 +1144,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
break;
}
return false;
- } else if (!AndroidUtil.isHoneycombOrLater) {
+ } else if (!AndroidUtil.isLolliPopOrLater) {
switch (keyCode) {
case KeyEvent.KEYCODE_MEDIA_NEXT:
onSkipToNext();
More information about the Android
mailing list