Commit f024a8a7 authored by Geoffrey Métais's avatar Geoffrey Métais

No double tap action when locked

parent fdc60bed
...@@ -1132,9 +1132,12 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay ...@@ -1132,9 +1132,12 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
@Override @Override
public boolean onDoubleTap(MotionEvent e) { public boolean onDoubleTap(MotionEvent e) {
if (!mIsLocked) {
doPlayPause(); doPlayPause();
return true; return true;
} }
return false;
}
@Override @Override
public boolean onDoubleTapEvent(MotionEvent e) { public boolean onDoubleTapEvent(MotionEvent e) {
......
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