1
0
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:
davigonz 2018-06-08 15:14:05 +02:00
parent bcc8a78bcf
commit 7fe2c02fc1

View File

@ -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;
}
}