[Android] Make VLCApplication extend MultiDexApplication

Geoffrey Métais git at videolan.org
Wed Jul 10 10:31:16 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jul 10 10:27:36 2019 +0200| [9e2f80b98fe5ec9c6e96d8592e671da7dc65006a] | committer: Geoffrey Métais

Make VLCApplication extend MultiDexApplication

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

 vlc-android/src/org/videolan/vlc/VLCApplication.kt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/VLCApplication.kt b/vlc-android/src/org/videolan/vlc/VLCApplication.kt
index 740b6159d..a762856b3 100644
--- a/vlc-android/src/org/videolan/vlc/VLCApplication.kt
+++ b/vlc-android/src/org/videolan/vlc/VLCApplication.kt
@@ -33,11 +33,11 @@ import androidx.collection.SimpleArrayMap
 import androidx.fragment.app.DialogFragment
 import androidx.lifecycle.Lifecycle
 import androidx.lifecycle.ProcessLifecycleOwner
+import androidx.multidex.MultiDexApplication
 import kotlinx.coroutines.ExperimentalCoroutinesApi
 import kotlinx.coroutines.ObsoleteCoroutinesApi
 import org.videolan.libvlc.Dialog
 import org.videolan.libvlc.util.AndroidUtil
-import org.videolan.medialibrary.interfaces.AbstractMedialibrary
 import org.videolan.vlc.gui.DialogActivity
 import org.videolan.vlc.gui.dialogs.VlcProgressDialog
 import org.videolan.vlc.gui.helpers.AudioUtil
@@ -47,11 +47,10 @@ import org.videolan.vlc.gui.helpers.UiTools
 import org.videolan.vlc.util.*
 import java.lang.ref.WeakReference
 import java.lang.reflect.InvocationTargetException
-import java.util.*
 
 @ObsoleteCoroutinesApi
 @ExperimentalCoroutinesApi
-class VLCApplication : Application() {
+class VLCApplication : MultiDexApplication() {
 
     private var mDialogCallbacks: Dialog.Callbacks = object : Dialog.Callbacks {
         override fun onDisplay(dialog: Dialog.ErrorMessage) {



More information about the Android mailing list