[Android] Browser action mode: Fix parameter nullability

Geoffrey Métais git at videolan.org
Thu Jun 28 11:22:42 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun 28 11:22:16 2018 +0200| [7fb56a671af0bc0ab4432bd30f3bc880fc85ee98] | committer: Geoffrey Métais

Browser action mode: Fix parameter nullability

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.kt b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.kt
index 4e43c6b75..b98983a15 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.kt
@@ -341,7 +341,7 @@ abstract class BaseBrowserFragment : MediaBrowserFragment<BrowserModel>(), IRefr
         return true
     }
 
-    override fun onDestroyActionMode(mode: ActionMode) {
+    override fun onDestroyActionMode(mode: ActionMode?) {
         mActionMode = null
         var index = -1
         for (media in adapter.all) {



More information about the Android mailing list