Whenever the uses saves changes in the Tag Editor, AbsTagEditorActivity calls Tag.setField(Artwork). After that, if Artwork.isLinked() returns false, the FlacTag implementation of Tag causes Artwork.setImageFromData() to be called while creating the field, which throws an UnsupportedOperationException for AndroidArtwok. This change introduces a workaround by creating the field manually and using Tag.setField(TagField) whenever we have to deal with non-linked artworks and FlacTags.
If left the isLinked() check there, even though I'm not sure it's necessary as Music-Player might only create non-linked artworks.
Whenever the uses saves changes in the Tag Editor, AbsTagEditorActivity calls Tag.setField(Artwork). After that, if Artwork.isLinked() returns false, the FlacTag implementation of Tag causes Artwork.setImageFromData() to be called while creating the field, which throws an UnsupportedOperationException for AndroidArtwok. This change introduces a workaround by creating the field manually and using Tag.setField(TagField) whenever we have to deal with non-linked artworks and FlacTags.
If left the isLinked() check there, even though I'm not sure it's necessary as Music-Player might only create non-linked artworks.