Skip to content

Commit ff6c9ad

Browse files
AndyScherzingertobiasKaminsky
authored andcommitted
fix: Add read/write note field logic to parcel processing
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent 2b1809c commit ff6c9ad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • library/src/main/java/com/owncloud/android/lib/resources/shares

library/src/main/java/com/owncloud/android/lib/resources/shares/OCShare.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ class OCShare :
150150
remoteId = source.readLong()
151151
shareLink = source.readString()
152152
isPasswordProtected = source.readInt() == 1
153+
note = source.readString()
153154
isHideFileDownload = source.readInt() == 1
154155
label = source.readString()
155156
isHasPreview = source.readInt() == 1
@@ -181,6 +182,7 @@ class OCShare :
181182
dest.writeLong(remoteId)
182183
dest.writeString(shareLink)
183184
dest.writeInt(if (isPasswordProtected) 1 else 0)
185+
dest.writeString(note)
184186
dest.writeInt(if (isHideFileDownload) 1 else 0)
185187
dest.writeString(label)
186188
dest.writeInt(if (isHasPreview) 1 else 0)

0 commit comments

Comments
 (0)