mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Include methot to make a result successful
This commit is contained in:
parent
bcc8a78bcf
commit
7fe2c02fc1
@ -461,6 +461,7 @@ public class RemoteOperationResult implements Serializable {
|
||||
mCode = ResultCode.UNHANDLED_HTTP_CODE; // UNKNOWN ERROR
|
||||
Log_OC.d(TAG,
|
||||
"RemoteOperationResult has processed UNHANDLED_HTTP_CODE: " +
|
||||
|
||||
mHttpCode + " " + mHttpPhrase
|
||||
);
|
||||
}
|
||||
@ -659,4 +660,8 @@ public class RemoteOperationResult implements Serializable {
|
||||
public void setLastPermanentLocation(String lastPermanentLocation) {
|
||||
mLastPermanentLocation = lastPermanentLocation;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.mSuccess = success;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user