Run in background instead of writing instantaneously
This commit is contained in:
parent
37465db817
commit
4e898fa4f2
|
@ -1487,7 +1487,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() {
|
||||
|
|
Loading…
Reference in a new issue