[Android] Make append really append

Edward Wang git at videolan.org
Mon Oct 28 04:14:42 CET 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sun Oct 27 23:06:04 2013 -0400| [6b0db306d0ec4b4c4c42e7f5e7d0e409538f0fe3] | committer: Edward Wang

Make append really append

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=6b0db306d0ec4b4c4c42e7f5e7d0e409538f0fe3
---

 vlc-android/src/org/videolan/vlc/gui/audio/AudioListFragment.java |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioListFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioListFragment.java
index 884d5fb..cc7152d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioListFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioListFragment.java
@@ -184,10 +184,11 @@ public class AudioListFragment extends SherlockListFragment {
         }
         if (append)
             mAudioController.append(medias);
-        else
+        else {
             mAudioController.load(medias, startPosition);
+            AudioPlayerFragment.start(getActivity());
+        }
 
-        AudioPlayerFragment.start(getActivity());
         return super.onContextItemSelected(item);
     }
 



More information about the Android mailing list