mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Remove ACRA.
This commit is contained in:
		| @@ -177,9 +177,6 @@ dependencies { | ||||
|     // Logging | ||||
|     compile 'com.jakewharton.timber:timber:4.4.0' | ||||
|  | ||||
|     // Crash reports | ||||
|     compile 'ch.acra:acra:4.9.1' | ||||
|  | ||||
|     // UI | ||||
|     compile 'com.dmitrymalkovich.android:material-design-dimens:1.4' | ||||
|     compile 'com.github.dmytrodanylyk.android-process-button:library:1.0.4' | ||||
|   | ||||
| @@ -9,20 +9,11 @@ import eu.kanade.tachiyomi.data.library.LibraryUpdateJob | ||||
| import eu.kanade.tachiyomi.data.updater.UpdateCheckerJob | ||||
| import eu.kanade.tachiyomi.util.LocaleHelper | ||||
| import io.paperdb.Paper | ||||
| import org.acra.ACRA | ||||
| import org.acra.annotation.ReportsCrashes | ||||
| import timber.log.Timber | ||||
| import uy.kohesive.injekt.Injekt | ||||
| import uy.kohesive.injekt.api.InjektScope | ||||
| import uy.kohesive.injekt.registry.default.DefaultRegistrar | ||||
|  | ||||
| @ReportsCrashes( | ||||
|         formUri = "http://tachiyomi.kanade.eu/crash_report", | ||||
|         reportType = org.acra.sender.HttpSender.Type.JSON, | ||||
|         httpMethod = org.acra.sender.HttpSender.Method.PUT, | ||||
|         buildConfigClass = BuildConfig::class, | ||||
|         excludeMatchingSharedPreferencesKeys = arrayOf(".*username.*", ".*password.*", ".*token.*") | ||||
| ) | ||||
| open class App : Application() { | ||||
|  | ||||
|     override fun onCreate() { | ||||
| @@ -32,7 +23,6 @@ open class App : Application() { | ||||
|  | ||||
|         if (BuildConfig.DEBUG) Timber.plant(Timber.DebugTree()) | ||||
|  | ||||
|         setupAcra() | ||||
|         setupJobManager() | ||||
|         Paper.init(this) //Setup metadata DB (EH) | ||||
|  | ||||
| @@ -51,10 +41,6 @@ open class App : Application() { | ||||
|         LocaleHelper.updateConfiguration(this, newConfig, true) | ||||
|     } | ||||
|  | ||||
|     protected open fun setupAcra() { | ||||
|         ACRA.init(this) | ||||
|     } | ||||
|  | ||||
|     protected open fun setupJobManager() { | ||||
|         JobManager.create(this).addJobCreator { tag -> | ||||
|             when (tag) { | ||||
|   | ||||
| @@ -10,12 +10,6 @@ | ||||
|         android:title="@string/pref_category_about" | ||||
|         app:asp_tintEnabled="true"> | ||||
|  | ||||
|         <SwitchPreference | ||||
|             android:defaultValue="true" | ||||
|             android:key="acra.enable" | ||||
|             android:summary="@string/pref_acra_summary" | ||||
|             android:title="@string/pref_enable_acra" /> | ||||
|  | ||||
|         <SwitchPreference | ||||
|             android:defaultValue="true" | ||||
|             android:key="@string/pref_enable_automatic_updates_key" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user