[Android] Upgrade Kotlin & kotlinx
Geoffrey Métais
git at videolan.org
Mon Apr 29 10:31:05 CEST 2019
vlc-android | branch: 3.1.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Apr 29 09:57:15 2019 +0200| [2810e2ef180bcd26f49079e4f8cdd9bbe3437ff0] | committer: Geoffrey Métais
Upgrade Kotlin & kotlinx
> https://code.videolan.org/videolan/vlc-android/commit/2810e2ef180bcd26f49079e4f8cdd9bbe3437ff0
---
build.gradle | 4 ++--
vlc-android/src/org/videolan/vlc/media/MediaUtils.kt | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/build.gradle b/build.gradle
index 354b5e6ed..155458d7d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,8 +1,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.android_plugin_version = '3.3.2'
- ext.kotlin_version = '1.3.21'
- ext.kotlinx_version = '1.1.1'
+ ext.kotlin_version = '1.3.31'
+ ext.kotlinx_version = '1.2.1'
repositories {
flatDir dirs: "gradle/plugins"
google()
diff --git a/vlc-android/src/org/videolan/vlc/media/MediaUtils.kt b/vlc-android/src/org/videolan/vlc/media/MediaUtils.kt
index 185d47e4a..936d26556 100644
--- a/vlc-android/src/org/videolan/vlc/media/MediaUtils.kt
+++ b/vlc-android/src/org/videolan/vlc/media/MediaUtils.kt
@@ -363,7 +363,7 @@ object MediaUtils : CoroutineScope {
@ObsoleteCoroutinesApi
private class SuspendDialogCallback (context: Context, private val task: suspend (service: PlaybackService) -> Unit) : BaseCallBack() {
private lateinit var dialog: ProgressDialog
- var job = Job()
+ var job : Job = Job()
val actor = actor<Action>(capacity = Channel.UNLIMITED) {
for (action in channel) when (action) {
Connect -> {
More information about the Android
mailing list