From 921756bb2f3bb7891386f5aac551fe775d454a78 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Tue, 11 Jul 2023 07:11:15 +0000 Subject: 2: integrate ipscrambling module in git repos and update dependencies --- app/build.gradle | 49 +++++++++++----------- .../e/advancedprivacy/DependencyContainer.kt | 2 +- .../domain/usecases/IpScramblingStateUseCase.kt | 2 +- .../internetprivacy/InternetPrivacyViewModel.kt | 2 +- 4 files changed, 27 insertions(+), 28 deletions(-) (limited to 'app') diff --git a/app/build.gradle b/app/build.gradle index 8a9f1fd..af05ec0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -150,36 +150,35 @@ dependencies { implementation project(':trackers') - implementation 'foundation.e:privacymodule.tor:1.10.0-orbot-16.6.3-1' - - implementation 'foundation.e:elib:0.0.1-alpha11' + implementation project(':ipscrambling') implementation ( - Libs.Kotlin.stdlib, - Libs.AndroidX.coreKtx, - Libs.AndroidX.appCompat, - Libs.AndroidX.Fragment.fragmentKtx, - Libs.AndroidX.Lifecycle.runtime, - Libs.AndroidX.Lifecycle.viewmodel, - Libs.AndroidX.work, - Libs.material, - - Libs.AndroidX.navigation.fragmentKtx, - Libs.AndroidX.navigation.uiKtx, - - Libs.Retrofit.retrofit, - Libs.Retrofit.scalars, - - Libs.maplibre, - Libs.mpAndroidCharts, - - Libs.telemetry, - Libs.timber + libs.e.elib, + + libs.androidx.core.ktx, + libs.androidx.appcompat, + libs.androidx.fragment.ktx, + libs.androidx.lifecycle.runtime, + libs.androidx.lifecycle.viewmodel, + libs.androidx.work.ktx, + libs.google.material, + + libs.androidx.navigation.fragment, + libs.androidx.navigation.ui, + + libs.retrofit, + libs.retrofit.scalars, + + libs.maplibre, + libs.mpandroidcharts, + + libs.e.telemetry, + libs.timber ) - debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1' + debugImplementation libs.leakcanary - testImplementation 'junit:junit:4.+' + testImplementation libs.junit } static def log(Object val) { diff --git a/app/src/main/java/foundation/e/advancedprivacy/DependencyContainer.kt b/app/src/main/java/foundation/e/advancedprivacy/DependencyContainer.kt index 5664515..820a868 100644 --- a/app/src/main/java/foundation/e/advancedprivacy/DependencyContainer.kt +++ b/app/src/main/java/foundation/e/advancedprivacy/DependencyContainer.kt @@ -44,8 +44,8 @@ import foundation.e.advancedprivacy.features.trackers.TrackersViewModel import foundation.e.advancedprivacy.features.trackers.apptrackers.AppTrackersFragmentArgs import foundation.e.advancedprivacy.features.trackers.apptrackers.AppTrackersViewModel import foundation.e.privacymodules.fakelocation.FakeLocationModule +import foundation.e.privacymodules.ipscrambler.IIpScramblerModule import foundation.e.privacymodules.ipscrambler.IpScramblerModule -import foundation.e.privacymodules.ipscramblermodule.IIpScramblerModule import foundation.e.privacymodules.permissions.PermissionsPrivacyModule import foundation.e.privacymodules.permissions.data.ApplicationDescription import foundation.e.privacymodules.permissions.data.ProfileType diff --git a/app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt b/app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt index 6ae0746..22da470 100644 --- a/app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt +++ b/app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt @@ -24,7 +24,7 @@ import foundation.e.advancedprivacy.domain.entities.InternetPrivacyMode.HIDE_IP import foundation.e.advancedprivacy.domain.entities.InternetPrivacyMode.HIDE_IP_LOADING import foundation.e.advancedprivacy.domain.entities.InternetPrivacyMode.REAL_IP import foundation.e.advancedprivacy.domain.entities.InternetPrivacyMode.REAL_IP_LOADING -import foundation.e.privacymodules.ipscramblermodule.IIpScramblerModule +import foundation.e.privacymodules.ipscrambler.IIpScramblerModule import foundation.e.privacymodules.permissions.IPermissionsPrivacyModule import foundation.e.privacymodules.permissions.data.ApplicationDescription import kotlinx.coroutines.CoroutineScope diff --git a/app/src/main/java/foundation/e/advancedprivacy/features/internetprivacy/InternetPrivacyViewModel.kt b/app/src/main/java/foundation/e/advancedprivacy/features/internetprivacy/InternetPrivacyViewModel.kt index 051c8e8..4c707a2 100644 --- a/app/src/main/java/foundation/e/advancedprivacy/features/internetprivacy/InternetPrivacyViewModel.kt +++ b/app/src/main/java/foundation/e/advancedprivacy/features/internetprivacy/InternetPrivacyViewModel.kt @@ -25,7 +25,7 @@ import foundation.e.advancedprivacy.domain.entities.InternetPrivacyMode import foundation.e.advancedprivacy.domain.usecases.AppListUseCase import foundation.e.advancedprivacy.domain.usecases.GetQuickPrivacyStateUseCase import foundation.e.advancedprivacy.domain.usecases.IpScramblingStateUseCase -import foundation.e.privacymodules.ipscramblermodule.IIpScramblerModule +import foundation.e.privacymodules.ipscrambler.IIpScramblerModule import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.FlowPreview import kotlinx.coroutines.flow.MutableSharedFlow -- cgit v1.2.1