[Android] Fix build

Geoffrey Métais git at videolan.org
Fri Aug 2 14:57:39 CEST 2019


vlc-android | branch: 3.2.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Aug  1 15:12:06 2019 +0200| [a6c4f1a8245295aee553beaed8a9973481b53d29] | committer: Geoffrey Métais

Fix build

(cherry picked from commit 667cd08b533ba5a29ead43c0e6d99955b9ef35ea)

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

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

diff --git a/vlc-android/src/org/videolan/vlc/viewmodels/StreamsModel.kt b/vlc-android/src/org/videolan/vlc/viewmodels/StreamsModel.kt
index ac467033c..cbda04be5 100644
--- a/vlc-android/src/org/videolan/vlc/viewmodels/StreamsModel.kt
+++ b/vlc-android/src/org/videolan/vlc/viewmodels/StreamsModel.kt
@@ -48,7 +48,7 @@ class StreamsModel(context: Context) : MedialibraryModel<AbstractMediaWrapper>(c
         refresh()
     }
 
-    class Factory(private val context: Context) : ViewModelProvider.Factory() {
+    class Factory(private val context: Context) : ViewModelProvider.Factory {
         override fun <T : ViewModel> create(modelClass: Class<T>): T {
             @Suppress("UNCHECKED_CAST")
             return StreamsModel(context.applicationContext) as T



More information about the Android mailing list