Drop dependency upon kovenant

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-07-21 13:03:58 +05:30
parent bf554853ec
commit 99daaa2515
3 changed files with 0 additions and 13 deletions

View File

@@ -160,10 +160,6 @@ dependencies {
//Fetch - Downloader //Fetch - Downloader
implementation "androidx.tonyodev.fetch2:xfetch2:3.1.6" implementation "androidx.tonyodev.fetch2:xfetch2:3.1.6"
//Kovenant
implementation "nl.komponents.kovenant:kovenant:3.3.0"
implementation "nl.komponents.kovenant:kovenant-android:3.3.0"
//EventBus //EventBus
implementation "org.greenrobot:eventbus:3.3.1" implementation "org.greenrobot:eventbus:3.3.1"

View File

@@ -81,10 +81,6 @@
-dontwarn retrofit2.KotlinExtensions -dontwarn retrofit2.KotlinExtensions
-dontwarn retrofit2.KotlinExtensions$* -dontwarn retrofit2.KotlinExtensions$*
#Kovenant
-dontwarn rx.internal.util.unsafe.**
-dontwarn nl.komponents.kovenant.unsafe.**
-dontwarn okio.** -dontwarn okio.**
-keep class com.google.** -keep class com.google.**
-dontwarn com.google.** -dontwarn com.google.**

View File

@@ -35,8 +35,6 @@ import com.aurora.store.util.CommonUtil
import com.aurora.store.util.PackageUtil import com.aurora.store.util.PackageUtil
import com.tonyodev.fetch2.Fetch import com.tonyodev.fetch2.Fetch
import java.util.ArrayList import java.util.ArrayList
import nl.komponents.kovenant.android.startKovenant
import nl.komponents.kovenant.android.stopKovenant
import org.lsposed.hiddenapibypass.HiddenApiBypass import org.lsposed.hiddenapibypass.HiddenApiBypass
class AuroraApplication : Application() { class AuroraApplication : Application() {
@@ -77,8 +75,6 @@ class AuroraApplication : Application() {
.with(this) .with(this)
.bind() .bind()
startKovenant()
CommonUtil.cleanupInstallationSessions(applicationContext) CommonUtil.cleanupInstallationSessions(applicationContext)
} }
@@ -86,7 +82,6 @@ class AuroraApplication : Application() {
NetworkProvider NetworkProvider
.with(this) .with(this)
.unbind() .unbind()
stopKovenant()
super.onTerminate() super.onTerminate()
} }