Browse Source

remove ACRA

Andrew Dolgov 2 months ago
parent
commit
571351a2d2

+ 0 - 1
org.fox.ttcomics/build.gradle

@@ -53,7 +53,6 @@ dependencies {
     implementation 'com.shamanland:fab:0.0.8'
     implementation 'jp.co.recruit_mp:android-HeaderFooterGridView:0.2.4'
     implementation 'com.github.bumptech.glide:glide:3.8.0'
-    implementation 'ch.acra:acra:4.9.1'
     implementation 'com.ToxicBakery.viewpager.transforms:view-pager-transforms:[email protected]'
     implementation 'com.nhaarman.listviewanimations:lib-core:[email protected]'
     implementation 'frankiesardo:icepick:3.2.0'

+ 0 - 1
org.fox.ttcomics/org.fox.ttcomics.iml

@@ -168,7 +168,6 @@
     <orderEntry type="library" name="Gradle: scout:scout:[email protected]" level="project" />
     <orderEntry type="library" name="Gradle: com.github.livefront:bridge:[email protected]" level="project" />
     <orderEntry type="library" name="Gradle: androidx.activity:activity:[email protected]" level="project" />
-    <orderEntry type="library" name="Gradle: ch.acra:acra:[email protected]" level="project" />
     <orderEntry type="library" name="Gradle: com.github.bumptech.glide:glide:[email protected]" level="project" />
     <orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-livedata:[email protected]" level="project" />
     <orderEntry type="library" name="Gradle: frankiesardo:icepick-processor:[email protected]" level="project" />

+ 0 - 6
org.fox.ttcomics/src/main/AndroidManifest.xml

@@ -53,12 +53,6 @@
         <activity
             android:name="net.rdrei.android.dirchooser.DirectoryChooserActivity">
         </activity>
-        
-        <activity android:name="org.acra.CrashReportDialog"
-            android:theme="@style/DarkDialogTheme"
-            android:launchMode="singleInstance"
-            android:excludeFromRecents="true"
-            android:finishOnTaskLaunch="true" />
 
         <service
             android:name=".sync.SyncFolderService"

+ 0 - 12
org.fox.ttcomics/src/main/java/org/fox/ttcomics2/Application.java

@@ -5,27 +5,15 @@ import android.os.Bundle;
 import com.livefront.bridge.Bridge;
 import com.livefront.bridge.SavedStateHandler;
 
-import org.acra.ACRA;
-import org.acra.ReportingInteractionMode;
-import org.acra.annotation.ReportsCrashes;
-
 import androidx.annotation.NonNull;
 import androidx.annotation.Nullable;
 import icepick.Icepick;
 
[email protected](mode = ReportingInteractionMode.SILENT,
-        excludeMatchingSharedPreferencesKeys = {"password", "sync_account"},
-        resDialogText = R.string.crash_dialog_text,
-        formUri = "https://tt-rss.org/acra/submit/")
 public class Application extends android.app.Application {
     @Override
     public final void onCreate() {
         super.onCreate();
 
-        if (!BuildConfig.DEBUG) {
-            ACRA.init(this);
-        }
-
         Bridge.initialize(getApplicationContext(), new SavedStateHandler() {
             @Override
             public void saveInstanceState(@NonNull Object target, @NonNull Bundle state) {