diff --git a/app/build.gradle b/app/build.gradle index 8075075c8..92983badb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -106,7 +106,6 @@ repositories { dependencies { implementation 'com.github.zhanghai:dav4jvm:59aa867' implementation 'com.github.chrisbanes:PhotoView:2.3.0' - releaseImplementation 'com.github.mypplication:stetho-noop:1.1' implementation 'com.github.topjohnwu.libsu:service:5.2.2' } @@ -140,9 +139,6 @@ dependencies { implementation 'com.caverock:androidsvg-aar:1.4' implementation 'com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0' implementation 'com.drakeet.drawer:drawer:1.0.3' - debugImplementation 'com.facebook.stetho:stetho:1.6.0' - // If added along with okhttp3, remove the related dontwarn from proguard-rules.pro. - //debugImplementation 'com.facebook.stetho:stetho-okhttp3:1.6.0' implementation 'com.h6ah4i.android.materialshadowninepatch:materialshadowninepatch:1.0.0' implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0' implementation ('com.hierynomus:smbj:0.13.0') { diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 856753c46..c9068757a 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -63,7 +63,3 @@ # SMBJ-RPC -dontwarn java.rmi.UnmarshalException - -# Stetho No-op -# This library includes the no-op for stetho-okhttp3 which requires okhttp3, but we never used it. --dontwarn com.facebook.stetho.okhttp3.StethoInterceptor diff --git a/app/src/main/java/me/zhanghai/android/files/app/AppInitializers.kt b/app/src/main/java/me/zhanghai/android/files/app/AppInitializers.kt index 1e4d1f83a..e4faa9d10 100644 --- a/app/src/main/java/me/zhanghai/android/files/app/AppInitializers.kt +++ b/app/src/main/java/me/zhanghai/android/files/app/AppInitializers.kt @@ -8,7 +8,6 @@ package me.zhanghai.android.files.app import android.os.AsyncTask import android.os.Build import android.webkit.WebView -import com.facebook.stetho.Stetho import com.jakewharton.threetenabp.AndroidThreeTen import jcifs.context.SingletonContext import me.zhanghai.android.files.BuildConfig @@ -33,9 +32,9 @@ import me.zhanghai.android.files.provider.webdav.client.Client as WebDavClient val appInitializers = listOf( ::initializeCrashlytics, ::disableHiddenApiChecks, ::initializeThreeTen, - ::initializeWebViewDebugging, ::initializeStetho, ::initializeCoil, - ::initializeFileSystemProviders, ::upgradeApp, ::initializeLiveDataObjects, - ::initializeCustomTheme, ::initializeNightMode, ::createNotificationChannels + ::initializeWebViewDebugging, ::initializeCoil, ::initializeFileSystemProviders, ::upgradeApp, + ::initializeLiveDataObjects, ::initializeCustomTheme, ::initializeNightMode, + ::createNotificationChannels ) private fun initializeCrashlytics() { @@ -58,10 +57,6 @@ private fun initializeWebViewDebugging() { } } -private fun initializeStetho() { - Stetho.initializeWithDefaults(application) -} - private fun initializeFileSystemProviders() { FileSystemProviders.install() FileSystemProviders.overflowWatchEvents = true