diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-05-16 17:46:48 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-05-16 17:46:48 +0200 |
commit | da0d84a2bebe36f70cf528f0d6d002868e48ffa4 (patch) | |
tree | 3bf3312f74058cfb6ad7639c5c52d8c3c0fb371e /src | |
parent | f898e2fdf62bcfb6ec3edd1eb5a7632e1fe38159 (diff) |
revert checkbox meaning from chrash report
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/siacs/conversations/utils/ExceptionHelper.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/ExceptionHelper.java b/src/main/java/eu/siacs/conversations/utils/ExceptionHelper.java index f2c3ea18a..e9f67cf0b 100644 --- a/src/main/java/eu/siacs/conversations/utils/ExceptionHelper.java +++ b/src/main/java/eu/siacs/conversations/utils/ExceptionHelper.java @@ -40,8 +40,8 @@ public class ExceptionHelper { try { final SharedPreferences preferences = PreferenceManager .getDefaultSharedPreferences(activity); - boolean neverSend = preferences.getBoolean("never_send", false); - if (neverSend) { + boolean crashreport = preferences.getBoolean("crashreport", true); + if (!crashreport) { return false; } List<Account> accounts = service.getAccounts(); @@ -109,7 +109,7 @@ public class ExceptionHelper { @Override public void onClick(DialogInterface dialog, int which) { - preferences.edit().putBoolean("never_send", true) + preferences.edit().putBoolean("crash_report", false) .apply(); } }); |