Commit 0de29688 authored by Geoffrey Métais's avatar Geoffrey Métais

Allow 'previous' action for first song in playlist

(cherry picked from commit c515f3a0)
parent d01b18fd
......@@ -505,7 +505,7 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ
public void onPreviousClick(View view) {
if (mService == null)
return;
if (mService.hasPrevious())
if (mService.hasPrevious() || mService.isSeekable())
mService.previous();
else
Snackbar.make(getView(), R.string.firstsong, Snackbar.LENGTH_SHORT).show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment