Commit 21781988 authored by Adrien Maglo's avatar Adrien Maglo
Browse files

Audio player: stop also on header play-pause button long click

parent 305e054a
......@@ -166,6 +166,13 @@ public class AudioPlayer extends Fragment implements IAudioPlayer {
onPlayPauseClick(v);
}
});
mHeaderPlayPause.setOnLongClickListener(new View.OnLongClickListener() {
@Override
public boolean onLongClick(View v) {
onStopClick(v);
return true;
}
});
mNext.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
......
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