Skip to content
Snippets Groups Projects
Commit f2fc0a43 authored by akwizgran's avatar akwizgran Committed by str4d
Browse files

Don't delete unsent reports on application start

parent d06a6e25
No related branches found
No related tags found
No related merge requests found
......@@ -9,17 +9,18 @@ import org.acra.annotation.ReportsCrashes;
import org.briarproject.CoreModule;
import org.briarproject.R;
import org.briarproject.android.util.BriarReportPrimer;
import org.briarproject.android.util.BriarReportSenderFactory;
import java.util.logging.Logger;
@ReportsCrashes(
reportPrimerClass = BriarReportPrimer.class,
logcatArguments = {"-d", "-v", "time", "*:I"},
reportSenderFactoryClasses = {
org.briarproject.android.util.BriarReportSenderFactory.class},
reportSenderFactoryClasses = {BriarReportSenderFactory.class},
mode = ReportingInteractionMode.DIALOG,
reportDialogClass = CrashReportActivity.class,
resDialogOkToast = R.string.crash_report_saved
resDialogOkToast = R.string.crash_report_saved,
deleteOldUnsentReportsOnApplicationStart = false
)
public class BriarApplication extends Application {
......@@ -31,8 +32,6 @@ public class BriarApplication extends Application {
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
// The following line triggers the initialization of ACRA
ACRA.init(this);
}
......
......@@ -15,7 +15,6 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import static android.content.Context.MODE_PRIVATE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment