mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-08 00:16:09 +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
|
mCode = ResultCode.UNHANDLED_HTTP_CODE; // UNKNOWN ERROR
|
||||||
Log_OC.d(TAG,
|
Log_OC.d(TAG,
|
||||||
"RemoteOperationResult has processed UNHANDLED_HTTP_CODE: " +
|
"RemoteOperationResult has processed UNHANDLED_HTTP_CODE: " +
|
||||||
|
|
||||||
mHttpCode + " " + mHttpPhrase
|
mHttpCode + " " + mHttpPhrase
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -659,4 +660,8 @@ public class RemoteOperationResult implements Serializable {
|
|||||||
public void setLastPermanentLocation(String lastPermanentLocation) {
|
public void setLastPermanentLocation(String lastPermanentLocation) {
|
||||||
mLastPermanentLocation = lastPermanentLocation;
|
mLastPermanentLocation = lastPermanentLocation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setSuccess(boolean success) {
|
||||||
|
this.mSuccess = success;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user