startAngle + sweep, -sweep);
p.close();
canvas.drawPath(p, f.getFillPaint());
canvas.drawLine(r1Inner.x, r1Inner.y, r1Outer.x, r1Outer.y, f.getRadialEdgePaint());
canvas.drawLine(r2Inner.x, r2Inner.y, r2Outer.x, r2Outer.y, f.getRadialEdgePaint());
<BUG>}
else {
</BUG>
canvas.save(Canvas.CLIP_SAVE_FLAG);
Path chart = new Path();

startAngle + sweep, -sweep);
p.close();
canvas.drawPath(p, f.getFillPaint());
canvas.drawLine(r1Inner.x, r1Inner.y, r1Outer.x, r1Outer.y, f.getRadialEdgePaint());
canvas.drawLine(r2Inner.x, r2Inner.y, r2Outer.x, r2Outer.y, f.getRadialEdgePaint());
} else {
canvas.save(Canvas.CLIP_SAVE_FLAG);
Path chart = new Path();
