mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-20 12:52:53 +00:00
Get that ExistenceCheckRemoteOperation remembers the sequence of followed redirections after its execution
Conflicts fixed: src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java src/com/owncloud/android/lib/resources/files/RenameRemoteFileOperation.java
This commit is contained in:
@@ -60,11 +60,11 @@ import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
public class RemoteOperationResult implements Serializable {
|
||||
|
||||
/** Generated - should be refreshed every time the class changes!! */;
|
||||
private static final long serialVersionUID = -9003837206000993465L;
|
||||
|
||||
private static final String TAG = "RemoteOperationResult";
|
||||
|
||||
public enum ResultCode {
|
||||
private static final long serialVersionUID = 25745846447996048L;
|
||||
|
||||
private static final String TAG = RemoteOperationResult.class.getSimpleName();
|
||||
|
||||
public enum ResultCode {
|
||||
OK,
|
||||
OK_SSL,
|
||||
OK_NO_SSL,
|
||||
@@ -112,6 +112,7 @@ public class RemoteOperationResult implements Serializable {
|
||||
private ResultCode mCode = ResultCode.UNKNOWN_ERROR;
|
||||
private String mRedirectedLocation;
|
||||
private String mAuthenticate;
|
||||
private String mLastPermanentLocation = null;
|
||||
|
||||
private ArrayList<Object> mData;
|
||||
|
||||
@@ -391,4 +392,12 @@ public class RemoteOperationResult implements Serializable {
|
||||
return mAuthenticate;
|
||||
}
|
||||
|
||||
public String getLastPermanentLocation() {
|
||||
return mLastPermanentLocation;
|
||||
}
|
||||
|
||||
public void setLastPermanentLocation(String lastPermanentLocation) {
|
||||
mLastPermanentLocation = lastPermanentLocation;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user