[Android] Fix IllegalArgumentException
Nicolas Pomepuy
git at videolan.org
Thu Jun 4 11:30:20 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Jun 3 06:33:45 2020 +0200| [f0a13c17cb08e326a8ad2711a07c3ec8f4ea05ed] | committer: Nicolas Pomepuy
Fix IllegalArgumentException
> https://code.videolan.org/videolan/vlc-android/commit/f0a13c17cb08e326a8ad2711a07c3ec8f4ea05ed
---
application/vlc-android/src/org/videolan/vlc/gui/SearchActivity.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/SearchActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/SearchActivity.kt
index 021c68b5e..2276a87df 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/SearchActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/SearchActivity.kt
@@ -94,7 +94,7 @@ open class SearchActivity : BaseActivity(), TextWatcher, TextView.OnEditorAction
performSearh(s.toString())
}
- 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_SEARCH) {
UiTools.setKeyboardVisibility(binding.root, false)
return true
More information about the Android
mailing list