Add cleanup and rollback step when migrating. Correctly set progress during migration.
[pub/Android/ownCloud.git] / src / com / owncloud / android / ui / activity / Preferences.java
index 60687ce..05adf9f 100644 (file)
@@ -843,6 +843,7 @@ public class Preferences extends PreferenceActivity
         MainApp.setStoragePath(mStoragePath);
         SharedPreferences.Editor editor = appPrefs.edit();
         editor.putString("storage_path", mStoragePath);
+        editor.commit();
         mPrefStoragePath.setSummary(mStoragePath);
     }