[Android] Always hide info text after seek

Geoffrey Métais git at videolan.org
Thu Nov 6 19:08:59 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Nov  6 14:47:59 2014 +0100| [e9b8130c58e49f86b6d2b7695a8b199f40057d83] | committer: Geoffrey Métais

Always hide info text after seek

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

 .../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



More information about the Android mailing list