diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 26e7d3a5..b50cb62a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -39,13 +39,13 @@ android { } } - compileSdk = 31 + compileSdk = 33 buildToolsVersion = "30.0.3" defaultConfig { applicationId = "com.lagradost.cloudstream3" minSdk = 21 - targetSdk = 30 + targetSdk = 33 versionCode = 55 versionName = "3.2.3" @@ -155,10 +155,10 @@ dependencies { // implementation("androidx.leanback:leanback-paging:1.1.0-alpha09") // Exoplayer - implementation("com.google.android.exoplayer:exoplayer:2.18.1") - implementation("com.google.android.exoplayer:extension-cast:2.18.1") - implementation("com.google.android.exoplayer:extension-mediasession:2.18.1") - implementation("com.google.android.exoplayer:extension-okhttp:2.18.1") + implementation("com.google.android.exoplayer:exoplayer:2.18.2") + implementation("com.google.android.exoplayer:extension-cast:2.18.2") + implementation("com.google.android.exoplayer:extension-mediasession:2.18.2") + implementation("com.google.android.exoplayer:extension-okhttp:2.18.2") //implementation("com.google.android.exoplayer:extension-leanback:2.14.0") @@ -190,7 +190,7 @@ dependencies { // Networking // implementation("com.squareup.okhttp3:okhttp:4.9.2") // implementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.9.1") - implementation("com.github.Blatzar:NiceHttp:0.3.5") + implementation("com.github.Blatzar:NiceHttp:0.4.0") // To fix SSL fuckery on android 9 implementation("org.conscrypt:conscrypt-android:2.2.1") // Util to skip the URI file fuckery 🙏 diff --git a/app/src/main/java/com/lagradost/cloudstream3/MainActivity.kt b/app/src/main/java/com/lagradost/cloudstream3/MainActivity.kt index c038d23a..1f208502 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/MainActivity.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/MainActivity.kt @@ -16,9 +16,11 @@ import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AppCompatActivity import androidx.core.view.isVisible import androidx.fragment.app.FragmentActivity -import androidx.navigation.* +import androidx.navigation.NavController +import androidx.navigation.NavDestination import androidx.navigation.NavDestination.Companion.hierarchy import androidx.navigation.NavGraph.Companion.findStartDestination +import androidx.navigation.NavOptions import androidx.navigation.fragment.NavHostFragment import androidx.navigation.ui.setupWithNavController import androidx.preference.PreferenceManager diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/EasterEggMonke.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/EasterEggMonke.kt index 3d28ca94..556ebd34 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/EasterEggMonke.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/EasterEggMonke.kt @@ -69,7 +69,7 @@ class EasterEggMonke : AppCompatActivity() { set.duration = (Math.random() * 1500 + 2500).toLong() set.addListener(object : AnimatorListenerAdapter() { - override fun onAnimationEnd(animation: Animator?) { + override fun onAnimationEnd(animation: Animator) { frame.removeView(newStar) } }) diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/player/NonFinalTextRenderer.java b/app/src/main/java/com/lagradost/cloudstream3/ui/player/NonFinalTextRenderer.java index ce39a841..3b47b27a 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/player/NonFinalTextRenderer.java +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/player/NonFinalTextRenderer.java @@ -439,7 +439,7 @@ public class NonFinalTextRenderer extends BaseRenderer implements Callback { ).collect(Collectors.toList()); output.onCues(fixedCues); - output.onCues(new CueGroup(fixedCues)); + output.onCues(new CueGroup(fixedCues, 0L)); } /**