[Android] Update user visible hint on fragment show/hide

Geoffrey Métais git at videolan.org
Tue Aug 29 15:17:31 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Aug 29 13:22:33 2017 +0200| [37afe2ce1027bd491dd120c0b7ac8fe0cfb79236] | committer: Geoffrey Métais

Update user visible hint on fragment show/hide

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

 vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
index 354369d58..31e078585 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
@@ -102,6 +102,7 @@ public abstract class MediaBrowserFragment extends PlaybackServiceFragment imple
                 });
             }
         }
+        setUserVisibleHint(!hidden);
     }
 
     @Override



More information about the Android mailing list