Skip to content

Commit

Permalink
Update CustomBody.java
Browse files Browse the repository at this point in the history
  • Loading branch information
star4droid authored Jan 16, 2025
1 parent cef847e commit 9be03ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/src/main/java/com/star4droid/star2d/Items/CustomBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,15 @@ protected void onDraw(Canvas cv){
pos++;
}
cv.drawPath(path,paint);
} catch(Exception ex){}
} catch(Exception ex){
String file = getContext().getExternalFilesDir("logs") +"/customview.txt";
ex.printStackTrace();
FileUtil.writeFile(file,Utils.getStackTraceString(ex));
}
}

@Override
public String getTypeName(){
return "Custom";
}
}
}

0 comments on commit 9be03ed

Please sign in to comment.