Skip to content

Commit 3546bd8

Browse files
Merge pull request #1842 from nextcloud/add/manual_cancellation_result_code
add: manual cancellation result code
2 parents c65d193 + 198270e commit 3546bd8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

library/src/main/java/com/owncloud/android/lib/common/operations/RemoteOperationResult.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,10 @@ public enum ResultCode {
137137
FOLDER_ALREADY_EXISTS,
138138
CANNOT_CREATE_FILE,
139139
LOCKED,
140-
SIGNING_TOS_NEEDED
140+
SIGNING_TOS_NEEDED,
141+
142+
// Cancelled by user
143+
USER_CANCELLED
141144
}
142145

143146
private boolean mSuccess = false;

0 commit comments

Comments
 (0)