A canary in a coal mine

This commit is contained in:
M66B
2022-04-13 08:17:38 +02:00
parent 562496d48b
commit 5825de59c3
9 changed files with 79 additions and 18 deletions

View File

@@ -658,12 +658,11 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit()
.remove("crash_reports_asked")
.remove("crash_report_count")
.putBoolean("crash_reports", checked)
.apply();
Log.setCrashReporting(checked);
Log.setupLeakCanary(checked);
CoalMine.setup(checked);
}
});