Commit b6d9679d authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update SvgDecoder.java since our header tag starts with <?xml not <svg

parent 5ab909ce
......@@ -24,7 +24,7 @@ public class SvgDecoder {
public static final ImageFormat SVG_FORMAT = new ImageFormat("SVG_FORMAT", "svg");
// We do not include the closing ">" since there can be additional information
private static final String HEADER_TAG = "<svg";
private static final String HEADER_TAG = "<?xml";
public static class SvgFormatChecker implements ImageFormat.FormatChecker {
......@@ -141,4 +141,4 @@ public class SvgDecoder {
setPicture(mSvg.renderToPicture(bounds.width(), bounds.height()));
}
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment