Merge pull request #774 from nextcloud/fix-instant-upload-video

Fix video upload path
This commit is contained in:
Andy Scherzinger 2017-03-26 00:43:00 +01:00 committed by GitHub
commit 0313183ea5

View file

@ -200,7 +200,7 @@ public class FileStorageUtils {
if (com.owncloud.android.db.PreferenceManager.instantVideoUploadPathUseSubfolders(context)) { if (com.owncloud.android.db.PreferenceManager.instantVideoUploadPathUseSubfolders(context)) {
subPath = getSubpathFromDate(dateTaken); subPath = getSubpathFromDate(dateTaken);
} }
return uploadVideoPath + subPath + (fileName == null ? "" : fileName); return uploadVideoPath + OCFile.PATH_SEPARATOR + subPath + (fileName == null ? "" : fileName);
} }
public static String getParentPath(String remotePath) { public static String getParentPath(String remotePath) {