Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
eDrive
Commits
aafa83aa
Commit
aafa83aa
authored
Nov 15, 2021
by
narinder Rana
Browse files
manage missing function
parent
fae7dcec
Pipeline
#146263
passed with stages
in 5 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/drive/operations/CreateInitialFolderRemoteOperation.java
View file @
aafa83aa
...
...
@@ -48,7 +48,7 @@ public class CreateInitialFolderRemoteOperation extends RemoteOperation {
//Perfom request
CreateFolderRemoteOperation
createFolderOperation
=
new
CreateFolderRemoteOperation
(
mRemotePath
,
mCreateFullPath
);
RemoteOperationResult
createOperationResult
=
createFolderOperation
.
execute
(
client
,
true
);
RemoteOperationResult
createOperationResult
=
createFolderOperation
.
execute
(
client
);
if
(
createOperationResult
.
isSuccess
()
||
createOperationResult
.
getCode
()
==
RemoteOperationResult
.
ResultCode
.
FOLDER_ALREADY_EXISTS
){
if
(
DbHelper
.
insertSyncedFolder
(
mSyncedFolder
,
mContext
)
>=
0
)
{
...
...
app/src/main/java/foundation/e/drive/operations/DownloadFileRemoteOperation.java
View file @
aafa83aa
...
...
@@ -92,7 +92,7 @@ class DownloadFileRemoteOperation extends RemoteOperation {
private
int
downloadFile
(
OwnCloudClient
client
,
File
targetFile
)
throws
IOException
,
OperationCancelledException
{
int
status
=
-
1
;
boolean
savedFile
=
false
;
mGet
=
new
GetMethod
(
client
.
get
Webd
avUri
()
+
WebdavUtils
.
encodePath
(
mRemotePath
));
mGet
=
new
GetMethod
(
client
.
get
D
avUri
()
+
WebdavUtils
.
encodePath
(
mRemotePath
));
FileOutputStream
fos
=
null
;
try
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment