1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-11 16:33:03 +00:00

make redirection actually work ... finaly

This commit is contained in:
theScrabi
2018-07-05 15:25:51 +02:00
committed by davigonz
parent bd5dc20842
commit c33c7c551d
21 changed files with 102 additions and 86 deletions
@@ -174,7 +174,7 @@ public class MainActivity extends Activity implements OnRemoteOperationListener,
});
}).start();
// ReadRemoteFolderOperation refreshOperation = new ReadRemoteFolderOperation(FileUtils.PATH_SEPARATOR);
// refreshOperation.execute(mClient, this, mHandler);
// refreshOperation.onExecute(mClient, this, mHandler);
}
private void startUpload() {
@@ -210,7 +210,7 @@ public class MainActivity extends Activity implements OnRemoteOperationListener,
// UploadRemoteFileOperation uploadOperation = new UploadRemoteFileOperation(fileToUpload.getAbsolutePath(), remotePath, mimeType, timeStamp);
// uploadOperation.addDatatransferProgressListener(this);
// uploadOperation.execute(mClient, this, mHandler);
// uploadOperation.onExecute(mClient, this, mHandler);
}
private void startRemoteDeletion() {
@@ -237,7 +237,7 @@ public class MainActivity extends Activity implements OnRemoteOperationListener,
// RemoveRemoteFileOperation removeOperation = new RemoveRemoteFileOperation(remotePath);
// removeOperation.execute(mClient, this, mHandler);
// removeOperation.onExecute(mClient, this, mHandler);
}
private void startDownload() {
@@ -268,7 +268,7 @@ public class MainActivity extends Activity implements OnRemoteOperationListener,
// DownloadRemoteFileOperation downloadOperation = new DownloadRemoteFileOperation(remotePath, downFolder.getAbsolutePath());
// downloadOperation.addDatatransferProgressListener(this);
// downloadOperation.execute(mClient, this, mHandler);
// downloadOperation.onExecute(mClient, this, mHandler);
}
@SuppressWarnings("deprecation")