pull/429/head
FongMi 2 years ago
parent ae270ba015
commit 035cf2dd1f
  1. 2
      app/src/mobile/java/com/fongmi/android/tv/ui/custom/CustomKeyDownLive.java
  2. 2
      app/src/mobile/java/com/fongmi/android/tv/ui/custom/CustomKeyDownVod.java

@ -47,7 +47,7 @@ public class CustomKeyDownLive extends GestureDetector.SimpleOnGestureListener {
public boolean onTouchEvent(MotionEvent e) {
if (changeBright && e.getAction() == MotionEvent.ACTION_UP) listener.onBrightEnd();
if (changeVolume && e.getAction() == MotionEvent.ACTION_UP) listener.onVolumeEnd();
return detector.onTouchEvent(e);
return e.getPointerCount() == 1 && detector.onTouchEvent(e);
}
public void setLock(boolean lock) {

@ -47,7 +47,7 @@ public class CustomKeyDownVod extends GestureDetector.SimpleOnGestureListener {
if (changeSpeed && e.getAction() == MotionEvent.ACTION_UP) listener.onSpeedEnd();
if (changeBright && e.getAction() == MotionEvent.ACTION_UP) listener.onBrightEnd();
if (changeVolume && e.getAction() == MotionEvent.ACTION_UP) listener.onVolumeEnd();
return detector.onTouchEvent(e);
return e.getPointerCount() == 1 && detector.onTouchEvent(e);
}
public void setLock(boolean lock) {

Loading…
Cancel
Save