Skip to content
Snippets Groups Projects
Commit 568788e6 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Add a flag and update kt version to get more info on the JobCancellationException crash

parent f747b7a2
No related branches found
No related tags found
1 merge request!721Add a flag and update kt version to get more info on the JobCancellationException crash
......@@ -25,6 +25,8 @@ import android.content.Context
import android.content.pm.PackageManager
import android.os.Build
import android.util.Log
import kotlinx.coroutines.DEBUG_PROPERTY_NAME
import kotlinx.coroutines.DEBUG_PROPERTY_VALUE_ON
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import org.videolan.libvlc.Dialog
......@@ -69,6 +71,7 @@ class AppSetupDelegate : AppDelegate,
Log.i("AppSetupDelegate", "Registering factories")
FactoryManager.registerFactory(IMediaFactory.factoryId, MediaFactory())
FactoryManager.registerFactory(ILibVLCFactory.factoryId, LibVLCFactory())
System.setProperty(DEBUG_PROPERTY_NAME, DEBUG_PROPERTY_VALUE_ON)
if (BuildConfig.DEBUG) {
Settings.getInstance(this)
......
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.android_plugin_version = '4.0.1'
ext.kotlin_version = '1.3.72'
ext.kotlin_version = '1.4.10'
ext.kotlinx_version = '1.3.6'
repositories {
flatDir dirs: "gradle/plugins"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment