This commit is contained in:
M66B 2019-09-26 20:57:04 +02:00
parent a1762e0b91
commit 501ff59c9e
1 changed files with 2 additions and 0 deletions

View File

@ -4588,6 +4588,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
.setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
prefs.edit().putBoolean("crash_reports", true).apply();
Log.setCrashReporting(true);
}
})