[Android] [PATCH] Always hide info text after seek

Geoffrey Métais geoffrey.metais at gmail.com
Thu Nov 6 14:48:40 CET 2014


---
 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 eeeccb2..10087d1 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -923,9 +923,10 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
      * @param text
      */
     private void showInfo(String text) {
+        mHandler.removeMessages(FADE_OUT_INFO);
         mInfo.setVisibility(View.VISIBLE);
         mInfo.setText(text);
-        mHandler.removeMessages(FADE_OUT_INFO);
+        hideInfo();
     }
 
     /**
@@ -1571,7 +1572,6 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
         public void onStopTrackingTouch(SeekBar seekBar) {
             mDragging = false;
             showOverlay();
-            hideInfo();
         }
 
         @Override
-- 
1.9.1



More information about the Android mailing list