[Android] Hide media player when stopped
Geoffrey Métais
git at videolan.org
Tue Sep 8 15:17:49 CEST 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Sep 8 14:40:06 2015 +0200| [842bba19c8307e70b6808811aa5162d666bcb39e] | committer: Geoffrey Métais
Hide media player when stopped
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=842bba19c8307e70b6808811aa5162d666bcb39e
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java | 3 +++
1 file changed, 3 insertions(+)
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 f2a495b..bcc3b01 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java
@@ -430,6 +430,9 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ
mSwitchedToVideo = true;
}
break;
+ case MediaPlayer.Event.Stopped:
+ hide();
+ break;
}
}
More information about the Android
mailing list