[Android] Save position in video even if it's 0
Geoffrey Métais
git at videolan.org
Fri Oct 23 16:03:53 CEST 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Oct 23 15:37:53 2015 +0200| [f4c08c99a7f83d94e6a01c659a66dcdd0d11e5dc] | committer: Geoffrey Métais
Save position in video even if it's 0
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f4c08c99a7f83d94e6a01c659a66dcdd0d11e5dc
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 4256f46..839a378 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -784,7 +784,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
SharedPreferences.Editor editor = mSettings.edit();
// Save position
- if (time >= 0 && mService.isSeekable()) {
+ if (mService.isSeekable()) {
if(MediaDatabase.getInstance().mediaItemExists(mUri)) {
MediaDatabase.getInstance().updateMedia(
mUri,
More information about the Android
mailing list