From 5b9935c849edbbfbaea563f95373f7f7dbe0fc59 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Wed, 17 Apr 2013 18:07:00 +0200 Subject: [PATCH] Removed text notification about first instant upload only on line - not necessary any more --- src/com/owncloud/android/files/services/FileUploader.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/com/owncloud/android/files/services/FileUploader.java b/src/com/owncloud/android/files/services/FileUploader.java index 21bf5ca4..a3c76ebc 100644 --- a/src/com/owncloud/android/files/services/FileUploader.java +++ b/src/com/owncloud/android/files/services/FileUploader.java @@ -655,15 +655,6 @@ public class FileUploader extends Service implements OnDatatransferProgressListe String parentPath = new File(remotePath).getParent(); parentPath = parentPath.endsWith(OCFile.PATH_SEPARATOR) ? parentPath : parentPath + OCFile.PATH_SEPARATOR; OCFile parentDir = storageManager.getFileByPath(parentPath); - if (parentDir == null) { - Toast t = Toast - .makeText( - getApplicationContext(), - "The first time the InstantUpload is running you must be online, so the target folder can successfully created by the upload process", - 30); - t.show(); - return null; - } long parentDirId = parentDir.getFileId(); newFile.setParentId(parentDirId); return newFile; -- 2.11.0