android: fix some excetion in doriclayer's draw function
This commit is contained in:
parent
f6254304e0
commit
94c61315f0
@ -59,7 +59,11 @@ public class DoricLayer extends MaximumFrameLayout {
|
||||
mCornerPath.addRoundRect(mRect, mCornerRadii, Path.Direction.CW);
|
||||
canvas.clipPath(mCornerPath);
|
||||
}
|
||||
super.draw(canvas);
|
||||
try {
|
||||
super.draw(canvas);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user