[Android] Fix bg cone not displayed with secondary screen

Geoffrey Métais git at videolan.org
Fri Aug 4 12:21:46 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Aug  4 12:21:04 2017 +0200| [c239298c4ad06440c893b4e4dcb54d7287ee6bae] | committer: Geoffrey Métais

Fix bg cone not displayed with secondary screen

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 +---
 1 file changed, 1 insertion(+), 3 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 e8e302845..3264b4f6d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -3558,14 +3558,12 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
      */
     private void stopLoading() {
         mHandler.removeMessages(LOADING_ANIMATION);
+        UiTools.setViewVisibility(mTipsBackground, View.VISIBLE);
         if (!mIsLoading)
             return;
         mIsLoading = false;
         mLoading.setVisibility(View.INVISIBLE);
         mLoading.clearAnimation();
-        if (mPresentation != null) {
-            mTipsBackground.setVisibility(View.VISIBLE);
-        }
     }
 
     public void onClickOverlayTips(View v) {



More information about the Android mailing list