[Android] Make audioplayer not hideable

Geoffrey Métais git at videolan.org
Wed Jul 4 14:07:09 CEST 2018


vlc-android | branch: 3.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jul  4 13:39:24 2018 +0200| [87751b5330695932dce4b5c658268b285a00ab48] | committer: Geoffrey Métais

Make audioplayer not hideable

(cherry picked from commit c9fe1cd725a51c17043ee6e90cfcb4c4f04ad5d4)

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java b/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java
index 4460cbf64..c201e7454 100644
--- a/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java
@@ -272,6 +272,7 @@ public class AudioPlayerContainerActivity extends BaseActivity implements Playba
         if (mBottomSheetBehavior.getState() == BottomSheetBehavior.STATE_HIDDEN) {
             mBottomSheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
         }
+        mBottomSheetBehavior.setHideable(false);
     }
 
     /**



More information about the Android mailing list