[Android] Fix NullPointerException due to wrong override signature

Nicolas Pomepuy git at videolan.org
Mon Nov 15 07:23:19 UTC 2021


vlc-android | branch: 3.4.x | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Nov 15 08:04:20 2021 +0100| [0e584d8e72ee30ae63c37c0cae7f7dfebef16094] | committer: Nicolas Pomepuy

Fix NullPointerException due to wrong override signature

(cherry picked from commit 080734c4586cc66eeae091a0789a06b3b123e80e)

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

 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 7e06f4312..b7d410413 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