DroidFish: Disabled logging in SVG parser.

This commit is contained in:
Peter Osterlund 2012-06-09 22:40:58 +00:00
parent f61785af2d
commit e0ae12e7f8

View File

@ -1196,7 +1196,7 @@ public class SVGParser {
}
popTransform();
} else if (!hidden) {
Log.d(TAG, "UNRECOGNIZED SVG COMMAND: " + localName);
// Log.d(TAG, "UNRECOGNIZED SVG COMMAND: " + localName);
}
}
@ -1226,9 +1226,6 @@ public class SVGParser {
for (int i = 0; i < positions.length; i++) {
positions[i] = gradient.positions.get(i);
}
if (colors.length == 0) {
Log.d("BAD", "BAD");
}
LinearGradient g = new LinearGradient(gradient.x1, gradient.y1, gradient.x2, gradient.y2, colors, positions, Shader.TileMode.CLAMP);
if (gradient.matrix != null) {
g.setLocalMatrix(gradient.matrix);