[Android] Set append option in album view
Geoffrey Métais
git at videolan.org
Fri Jul 17 11:42:18 CEST 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jul 17 11:41:48 2015 +0200| [e8802934fb30f49233cbe595c23c26c54c220739] | committer: Geoffrey Métais
Set append option in album view
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=e8802934fb30f49233cbe595c23c26c54c220739
---
.../src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java
index c77c9a7..cc835b8 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumFragment.java
@@ -188,7 +188,10 @@ public class AudioAlbumFragment extends PlaybackServiceFragment implements Adapt
if (id == R.id.audio_list_browser_set_song) {
- AudioUtil.setRingtone(mAdapter.getItem(position), getActivity());
+ AudioUtil.setRingtone(mMediaList.get(position), getActivity());
+ return true;
+ } else if (id == R.id.audio_list_browser_append) {
+ mService.append(mMediaList.get(position));
return true;
}
More information about the Android
mailing list