Commit 5d02b94d authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Use OnRepeatListener on delay buttons

parent 10141701
......@@ -115,6 +115,7 @@ import org.videolan.vlc.util.Strings;
import org.videolan.vlc.util.Util;
import org.videolan.vlc.util.VLCInstance;
import org.videolan.vlc.util.WeakHandler;
import org.videolan.vlc.widget.OnRepeatListener;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
......@@ -1101,6 +1102,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
showOverlayTimeout(OVERLAY_INFINITE);
mDelayMinus.setOnClickListener(mAudioDelayListener);
mDelayPlus.setOnClickListener(mAudioDelayListener);
mDelayMinus.setOnTouchListener(new OnRepeatListener(mAudioDelayListener));
mDelayPlus.setOnTouchListener(new OnRepeatListener(mAudioDelayListener));
mDelayMinus.setVisibility(View.VISIBLE);
mDelayPlus.setVisibility(View.VISIBLE);
initDelayInfo();
......
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