[Android] Fix seekbar not updated

Geoffrey Métais git at videolan.org
Thu Apr 28 15:56:03 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Apr 28 15:55:38 2016 +0200| [1c57c517ee946b2883167bef8b0d2f338df88cdc] | committer: Geoffrey Métais

Fix seekbar not updated

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 efa8376..8dbd75d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -556,8 +556,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
                     uri = convertedUri;
             }
             mUri = uri;
-            initUI();
-            setOverlayProgress();
             updateSeekable(mService.isSeekable());
             updatePausable(mService.isPausable());
             mTitle.setText(mService.getCurrentMediaWrapper().getTitle());
@@ -566,6 +564,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
                 mPlaylist.setVisibility(View.GONE);
             }
             showTitle();
+            initUI();
+            setOverlayProgress();
         }
     }
 



More information about the Android mailing list