fix(proguard): overly broad enum keep rule (#4365)

Co-authored-by: Adrian Cojocaru <adrian.cojocaru92@yahoo.com>
This commit is contained in:
David Wheatley
2026-07-07 17:16:25 +01:00
committed by GitHub
parent 7f0f09d1bc
commit 5611a2f76b

View File

@@ -12,12 +12,11 @@
-keep enum org.maplibre.android.tile.TileOperation
-keep class org.maplibre.android.maps.RenderingStats { *; }
-keep class org.maplibre.android.maps.NativeMapOptions { *; }
-keepclassmembers class * extends java.lang.Enum {
-keepclassmembers class org.maplibre.android.** extends java.lang.Enum {
<fields>;
public static **[] values();
public static ** valueOf(java.lang.String);
}
# dontnote for keeps the entry point x but not the descriptor class y
-dontnote org.maplibre.android.maps.MapLibreMap$OnFpsChangedListener
-dontnote org.maplibre.android.style.layers.PropertyValue