[Android] Set onFling params nullable

Geoffrey Métais git at videolan.org
Tue Feb 5 15:31:08 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb  5 14:41:37 2019 +0100| [e4404f825968676e3269ba124aaa8c651b6bea4b] | committer: Geoffrey Métais

Set onFling params nullable

> https://code.videolan.org/videolan/vlc-android/commit/e4404f825968676e3269ba124aaa8c651b6bea4b
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt b/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt
index f35078cbb..57b9fd881 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt
@@ -357,7 +357,7 @@ class VideoTouchDelegate(private val player: VideoPlayerActivity,
             return false
         }
 
-        override fun onFling(e1: MotionEvent, e2: MotionEvent, velocityX: Float, velocityY: Float ) = false
+        override fun onFling(e1: MotionEvent?, e2: MotionEvent?, velocityX: Float, velocityY: Float ) = false
     }
 }
 



More information about the Android mailing list