Skip to content

Commit

Permalink
Fix Share parser: share type is not determined by existance of <url> …
Browse files Browse the repository at this point in the history
…element in share
  • Loading branch information
davivel committed Aug 4, 2016
1 parent 20c9830 commit 70e38cd
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ private void readElement(XmlPullParser parser, ArrayList<OCShare> shares)
share.setSharedWithDisplayName(readNode(parser, NODE_SHARE_WITH_DISPLAY_NAME));

} else if (name.equalsIgnoreCase(NODE_URL)) {
share.setShareType(ShareType.PUBLIC_LINK);
String value = readNode(parser, NODE_URL);
share.setShareLink(value);

Expand Down

0 comments on commit 70e38cd

Please sign in to comment.