[Android] Do not hide audio player on player stopped event

Geoffrey Métais git at videolan.org
Mon Feb 5 17:18:21 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Sat Feb  3 17:51:32 2018 +0100| [3e7a47afc1969cbd7ab68fc295c922e54bb6c6eb] | committer: Geoffrey Métais

Do not hide audio player on player stopped event

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

 vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
index a451b4079..4c6ae9cc1 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
@@ -262,7 +262,6 @@ class AudioPlayer : PlaybackServiceFragment(), PlaybackService.Callback, Playlis
     override fun onMediaPlayerEvent(event: MediaPlayer.Event) {
         when (event.type) {
             MediaPlayer.Event.Opening -> hideSearchField()
-            MediaPlayer.Event.Stopped -> hide()
         }
     }
 



More information about the Android mailing list