1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +00:00

Fixed wrong xml tag being used.

This commit is contained in:
Felix Ableitner 2014-10-23 13:27:28 +03:00
parent 04dc0c92ff
commit 6fe20213e5

View file

@ -123,7 +123,7 @@ public class ConfigXml {
}
// Replace /sdcard/ in folder path with proper path.
String dir = r.getAttribute("directory");
String dir = r.getAttribute("path");
if (dir.startsWith("/sdcard")) {
String newDir = dir.replace("/sdcard",
Environment.getExternalStorageDirectory().getAbsolutePath());