aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-11-11 11:35:12 +0100
committerChristian Schneppe <christian@pix-art.de>2018-11-11 11:35:12 +0100
commit13586d7b797cd6ce9ec967e2657a0180340dcfb5 (patch)
treef44e06ce2ea033a9eed672c8348dcf3daa2dd21b /src/main/java/de/pixart/messenger/services
parentd693a29586586b46588885a711b446748344e180 (diff)
try to fix failing backups in multiaccount mode
--> you have to enable multiaccount mode again and setup a password!!!
Diffstat (limited to 'src/main/java/de/pixart/messenger/services')
-rw-r--r--src/main/java/de/pixart/messenger/services/XmppConnectionService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
index 3588f836b..54e86a6ab 100644
--- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
+++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
@@ -800,7 +800,7 @@ public class XmppConnectionService extends Service {
final SharedPreferences.Editor editor = getPreferences().edit();
Log.d(Config.LOGTAG, "Number of accounts is " + accounts);
editor.putInt(SettingsActivity.NUMBER_OF_ACCOUNTS, accounts);
- editor.apply();
+ editor.commit();
}
public boolean isDataSaverDisabled() {