[Android] Video Player : Fix Show Info text bug

Alexandre Perraud git at videolan.org
Tue Jul 7 16:30:12 CEST 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Jul  7 16:28:33 2015 +0200| [2f874196d7587f54032f99624bc6c838c46d3e8f] | committer: Alexandre Perraud

Video Player : Fix Show Info text bug

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

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java       |    5 +++--
 1 file changed, 3 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 6a32a24..6951822 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1273,10 +1273,11 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         mInfo.setVisibility(View.INVISIBLE);
 
         if (mPresentation == null) {
-            if (mVerticalBar.getVisibility() == View.VISIBLE)
+            if (mVerticalBar.getVisibility() == View.VISIBLE) {
                 mVerticalBar.startAnimation(AnimationUtils.loadAnimation(
                         VideoPlayerActivity.this, android.R.anim.fade_out));
-            mVerticalBar.setVisibility(View.INVISIBLE);
+                mVerticalBar.setVisibility(View.INVISIBLE);
+            }
         }
     }
 



More information about the Android mailing list