Run in background instead of writing instantaneously

This commit is contained in:
Christian Schneppe 2017-04-05 20:23:37 +02:00
parent 1e246bbce1
commit 36f0151479

View file

@ -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() {