[Android] Revert "Upgrade Kotlin & kotlinx"
Geoffrey Métais
git at videolan.org
Thu May 2 14:16:15 CEST 2019
vlc-android | branch: 3.1.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu May 2 12:00:53 2019 +0200| [e14bcc85887b22136d7959ab7aa7043a91f8b435] | committer: Geoffrey Métais
Revert "Upgrade Kotlin & kotlinx"
This reverts commit 2810e2ef180bcd26f49079e4f8cdd9bbe3437ff0.
> https://code.videolan.org/videolan/vlc-android/commit/e14bcc85887b22136d7959ab7aa7043a91f8b435
---
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 e11227d88..ac5965c6d 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.31'
- ext.kotlinx_version = '1.2.1'
+ ext.kotlin_version = '1.3.21'
+ ext.kotlinx_version = '1.1.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 936d26556..185d47e4a 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 = Job()
+ var job = Job()
val actor = actor<Action>(capacity = Channel.UNLIMITED) {
for (action in channel) when (action) {
Connect -> {
More information about the Android
mailing list