[Android] Playlist dialog: fix parameter nullability

Geoffrey Métais git at videolan.org
Wed Jun 5 10:31:22 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed May 22 10:24:05 2019 +0200| [f7e25691722944a466b8e1adaa1c4ac976c4b839] | committer: Geoffrey Métais

Playlist dialog: fix parameter nullability

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/SavePlaylistDialog.kt b/vlc-android/src/org/videolan/vlc/gui/dialogs/SavePlaylistDialog.kt
index 21ffb9304..31fac5f82 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/SavePlaylistDialog.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/SavePlaylistDialog.kt
@@ -113,7 +113,7 @@ class SavePlaylistDialog : VLCBottomSheetDialogFragment(), View.OnClickListener,
         savePlaylist()
     }
 
-    override fun onEditorAction(v: TextView, actionId: Int, event: KeyEvent): Boolean {
+    override fun onEditorAction(v: TextView, actionId: Int, event: KeyEvent?): Boolean {
         if (actionId == EditorInfo.IME_ACTION_SEND)
             savePlaylist()
         return false



More information about the Android mailing list