[Android] Audio player: remove useless old code
Adrien Maglo
git at videolan.org
Fri Jan 10 17:09:11 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Jan 10 17:09:02 2014 +0100| [4391d55ce38a0846ba8f971bfb4963a29c42fd3a] | committer: Adrien Maglo
Audio player: remove useless old code
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4391d55ce38a0846ba8f971bfb4963a29c42fd3a
---
vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java | 6 ------
1 file changed, 6 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java b/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java
index 47c1178..49cc35c 100644
--- a/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java
+++ b/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java
@@ -229,12 +229,6 @@ public class AudioMiniPlayer extends Fragment implements IAudioPlayer {
return;
}
- // Exit the player and return to the main menu when there is no media
- if (!mAudioController.hasMedia()) {
- getActivity().getSupportFragmentManager().popBackStackImmediate(); // remove this fragment from view
- return;
- }
-
String title = mAudioController.getTitle();
if (title != null && !title.equals(lastTitle)) {
Bitmap cover = mAudioController.getCover();
More information about the Android
mailing list