fix(android): support setting path null

This commit is contained in:
Core
2020-01-14 12:11:58 +07:00
parent d12b01cbc2
commit 2d347347a3
@@ -33,8 +33,11 @@ class PathParser {
static Path parse(String d) {
elements = new ArrayList<>();
char prev_cmd = ' ';
mPath = new Path();
if(d == null){
return mPath;
}
char prev_cmd = ' ';
l = d.length();
s = d;
i = 0;