[Android] Enforce audio player visibility

Geoffrey Métais git at videolan.org
Mon Aug 21 16:06:13 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Aug 21 15:58:49 2017 +0200| [57804c351af1c79f5f258269bebad6c1bb90725d] | committer: Geoffrey Métais

Enforce audio player visibility

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java
index 6c16f0eb3..042eae41b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java
@@ -125,6 +125,7 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ
     @Override
     public void onViewCreated(final View view, @Nullable Bundle savedInstanceState) {
         super.onViewCreated(view, savedInstanceState);
+        view.setVisibility(View.VISIBLE);
         if (AndroidUtil.isJellyBeanMR1OrLater) {
             DEFAULT_BACKGROUND_DARKER_ID = UiTools.getResourceFromAttribute(view.getContext(), R.attr.background_default_darker);
             DEFAULT_BACKGROUND_ID = UiTools.getResourceFromAttribute(view.getContext(), R.attr.background_default);



More information about the Android mailing list