Run in background instead of writing instantaneously

This commit is contained in:
cijo-saju 2017-03-28 22:14:05 +05:30
parent 37465db817
commit 4e898fa4f2
1 changed files with 1 additions and 1 deletions

View File

@ -1487,7 +1487,7 @@ public class ConversationActivity extends XmppActivity
} }
private void setNeverAskForBatteryOptimizationsAgain() { private void setNeverAskForBatteryOptimizationsAgain() {
getPreferences().edit().putBoolean("show_battery_optimization", false).commit(); getPreferences().edit().putBoolean("show_battery_optimization", false).apply();
} }
private void openBatteryOptimizationDialogIfNeeded() { private void openBatteryOptimizationDialogIfNeeded() {