Removed text notification about first instant upload only on line - not necessary...
authorDavid A. Velasco <dvelasco@solidgear.es>
Wed, 17 Apr 2013 16:07:00 +0000 (18:07 +0200)
committerDavid A. Velasco <dvelasco@solidgear.es>
Wed, 17 Apr 2013 16:07:00 +0000 (18:07 +0200)
src/com/owncloud/android/files/services/FileUploader.java

index 21bf5ca..a3c76eb 100644 (file)
@@ -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;