private String mEtagInConflict; // Save file etag in the server, when there is a conflict. No conflict = null
+ private boolean mShareWithUser;
+
/**
* Create new {@link OCFile} with given path.
mNeedsUpdateThumbnail = source.readInt() == 1;
mIsDownloading = source.readInt() == 1;
mEtagInConflict = source.readString();
+ mShareWithUser = source.readInt() == 1;
}
dest.writeInt(mNeedsUpdateThumbnail ? 1 : 0);
dest.writeInt(mIsDownloading ? 1 : 0);
dest.writeString(mEtagInConflict);
+ dest.writeInt(mShareWithUser ? 1 : 0);
}
/**
mNeedsUpdateThumbnail = false;
mIsDownloading = false;
mEtagInConflict = null;
+ mShareWithUser = false;
}
/**
public void setEtagInConflict(String etagInConflict) {
mEtagInConflict = etagInConflict;
}
+
+ public boolean isShareWithUser() {
+ return mShareWithUser;
+ }
+
+ public void setShareWithUser(boolean shareWithUser) {
+ this.mShareWithUser = shareWithUser;
+ }
+
}