aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-04-05 20:23:37 +0200
committerChristian Schneppe <christian@pix-art.de>2017-04-05 22:21:41 +0200
commit36f01514794bf39ce16292545f9027ff73915f05 (patch)
treed30502ce1e7d2da3fcc9b96a3168e564886bd89b /src/main
parent1e246bbce11d9e57e70092d809143b5d048c7392 (diff)
Run in background instead of writing instantaneously
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationActivity.java b/src/main/java/de/pixart/messenger/ui/ConversationActivity.java
index 784f2e3ce..ef46bf0e3 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationActivity.java
@@ -1660,7 +1660,7 @@ public class ConversationActivity extends XmppActivity
}
private void setNeverAskForBatteryOptimizationsAgain() {
- getPreferences().edit().putBoolean("show_battery_optimization", false).commit();
+ getPreferences().edit().putBoolean("show_battery_optimization", false).apply();
}
private void openBatteryOptimizationDialogIfNeeded() {