aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-05-16 17:46:48 +0200
committerChristian Schneppe <christian@pix-art.de>2016-05-16 17:46:48 +0200
commitda0d84a2bebe36f70cf528f0d6d002868e48ffa4 (patch)
tree3bf3312f74058cfb6ad7639c5c52d8c3c0fb371e /src/main/java/eu/siacs/conversations
parentf898e2fdf62bcfb6ec3edd1eb5a7632e1fe38159 (diff)
revert checkbox meaning from chrash report
Diffstat (limited to 'src/main/java/eu/siacs/conversations')
-rw-r--r--src/main/java/eu/siacs/conversations/utils/ExceptionHelper.java6
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();
}
});