[Android] Fix NullPointerException due to wrong override signature

Nicolas Pomepuy git at videolan.org
Mon Nov 15 07:22:24 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Nov 15 08:04:20 2021 +0100| [080734c4586cc66eeae091a0789a06b3b123e80e] | committer: Nicolas Pomepuy

Fix NullPointerException due to wrong override signature

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

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

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.kt
index 9c2937b01..4e9454fdf 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.kt
@@ -127,7 +127,7 @@ class PopupManager constructor(private val service: PlaybackService) : PlaybackS
         return false
     }
 
-    override fun onScroll(e1: MotionEvent, e2: MotionEvent, distanceX: Float, distanceY: Float): Boolean {
+    override fun onScroll(e1: MotionEvent?, e2: MotionEvent?, distanceX: Float, distanceY: Float): Boolean {
         return false
     }
 



More information about the Android mailing list