From cc750e9aa3fff16ba03ba25eb18a9549d8b21e78 Mon Sep 17 00:00:00 2001 From: Justin Brooks Date: Fri, 18 Oct 2024 19:53:10 -0400 Subject: [PATCH] Keep class used in EnumMap --- vgo-cli/optimize.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vgo-cli/optimize.pro b/vgo-cli/optimize.pro index a94c33bd..ada621fb 100644 --- a/vgo-cli/optimize.pro +++ b/vgo-cli/optimize.pro @@ -7,4 +7,7 @@ -keep class com.jzbrooks.vgo.cli.CommandLineInterface { public static void main(java.lang.String[]); -} \ No newline at end of file +} + +# Used in an EnumMap inside tools-sdk code. It is required for converting vectors with clip paths. +-keep,allowoptimization enum com.android.ide.common.vectordrawable.SvgNode$ClipRule \ No newline at end of file