Skip to content

Commit

Permalink
Changed maximum lines in a render method to a lower number to avoid g…
Browse files Browse the repository at this point in the history
…enerating too many instructions in a method which will not be processed by ART then. (Fixes #72)
  • Loading branch information
almosr committed Sep 3, 2016
1 parent c3725ab commit 7f10b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android_svg_code_render/OutputBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @author Almos Rajnai
*/
public class OutputBuilder {
private static final int METHOD_SIZE_THRESHOLD = 3000;
private static final int METHOD_SIZE_THRESHOLD = 1500;
private static float sWidth;
private static float sHeight;
private static ArrayList<OutputItem> sStaticItems;
Expand Down

0 comments on commit 7f10b4e

Please sign in to comment.