Browse Source

Removed text notification about first instant upload only on line - not necessary any more

David A. Velasco 12 years ago
parent
commit
5b9935c849
1 changed files with 0 additions and 9 deletions
  1. 0 9
      src/com/owncloud/android/files/services/FileUploader.java

+ 0 - 9
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;