From b661c82caa3f8867ec2bf56860b302fd0f363c24 Mon Sep 17 00:00:00 2001 From: uzu09811 <168120233+uzu09811@users.noreply.github.com> Date: Mon, 11 Nov 2024 00:58:27 +0530 Subject: [PATCH] remove unnecessary dependencies --- new-player/build.gradle.kts | 3 --- .../java/net/newpipe/newplayer/repository/MediaRepository.kt | 5 ----- 2 files changed, 8 deletions(-) diff --git a/new-player/build.gradle.kts b/new-player/build.gradle.kts index 2c9746b..11251f7 100644 --- a/new-player/build.gradle.kts +++ b/new-player/build.gradle.kts @@ -71,15 +71,12 @@ dependencies { implementation(libs.androidx.ui.tooling.preview) implementation(libs.androidx.hilt.navigation.compose) implementation(libs.androidx.media3.common) - implementation("androidx.media3:media3-datasource-cronet:1.4.1") implementation(libs.coil.compose) implementation(libs.reorderable) implementation(libs.androidx.media3.session) implementation(libs.androidx.media3.exoplayer.dash) implementation(libs.androidx.adaptive.android) - implementation("org.chromium.net:cronet-embedded:119.6045.31") - ksp(libs.hilt.android.compiler) ksp(libs.androidx.hilt.compiler) diff --git a/new-player/src/main/java/net/newpipe/newplayer/repository/MediaRepository.kt b/new-player/src/main/java/net/newpipe/newplayer/repository/MediaRepository.kt index c560579..79ce44d 100644 --- a/new-player/src/main/java/net/newpipe/newplayer/repository/MediaRepository.kt +++ b/new-player/src/main/java/net/newpipe/newplayer/repository/MediaRepository.kt @@ -22,17 +22,12 @@ package net.newpipe.newplayer.repository import android.os.Build import android.content.Context -import android.net.http.HttpEngine import android.graphics.Bitmap import androidx.media3.common.MediaMetadata import androidx.media3.common.util.UnstableApi import androidx.media3.datasource.DefaultHttpDataSource import androidx.media3.datasource.DataSource import androidx.media3.datasource.HttpDataSource -import androidx.media3.datasource.cronet.CronetDataSource -import androidx.media3.datasource.HttpEngineDataSource -import org.chromium.net.CronetEngine -import org.chromium.net.CronetProvider import net.newpipe.newplayer.data.Chapter import net.newpipe.newplayer.data.Stream import net.newpipe.newplayer.data.Subtitle