Commit dc3f464e authored by Thomas's avatar Thomas
Browse files

Turn off crash reports set to true by default

parent a80bdd6a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,8 +9,8 @@ android {
    defaultConfig {
        minSdk 21
        targetSdk 31
        versionCode 395
        versionName "3.0.5"
        versionCode 396
        versionName "3.0.6"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    flavorDimensions "default"
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ public class MainApplication extends MultiDexApplication {
        super.attachBaseContext(base);
        MultiDex.install(MainApplication.this);
        SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(MainApplication.this);
        boolean send_crash_reports = sharedpreferences.getBoolean(getString(R.string.SET_SEND_CRASH_REPORTS), true);
        boolean send_crash_reports = sharedpreferences.getBoolean(getString(R.string.SET_SEND_CRASH_REPORTS), false);
        if (send_crash_reports) {
            ACRA.init(this, new CoreConfigurationBuilder()
                    //core configuration:
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
        app:title="@string/embedded_browser" />

    <SwitchPreferenceCompat
        app:defaultValue="true"
        app:defaultValue="false"
        app:iconSpaceReserved="false"
        app:key="@string/SET_SEND_CRASH_REPORTS"
        app:singleLineTitle="false"