1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-08 16:36:13 +00:00

OCShare made Serializable to be able to send it between components

This commit is contained in:
David A. Velasco 2014-02-06 20:09:02 +01:00
parent 858d5f1064
commit 546c19829c

View File

@ -24,6 +24,8 @@
package com.owncloud.android.lib.operations.common;
import java.io.Serializable;
import com.owncloud.android.lib.utils.FileUtils;
import android.os.Parcel;
@ -37,9 +39,12 @@ import android.util.Log;
* @author masensio
*
*/
public class OCShare implements Parcelable{
public class OCShare implements Parcelable, Serializable {
private static final String TAG = OCShare.class.getSimpleName();
/** Generated - should be refreshed every time the class changes!! */
private static final long serialVersionUID = 4124975224281327921L;
private static final String TAG = OCShare.class.getSimpleName();
private long mId;
private long mFileSource;