Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e730893 authored by Jared Duke's avatar Jared Duke Committed by Gerrit Code Review
Browse files

Merge "Add global rule for -keepattributes Exceptions" into main

parents c2038e8e 3f274121
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -10,6 +10,12 @@
# and RuntimeVisibleTypeAnnotations, as well as associated defaults.
-keepattributes RuntimeVisible*Annotation*,AnnotationDefault

# With R8 full mode, certain attributes are only kept when matched with an
# explicit keep rule for that target, even with a global -keepattributes rule.
# As such, we can add the global keep rule here with minimal cost while
# simplifying incremental development.
-keepattributes Exceptions

# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
-keepclassmembers enum * {
    public static **[] values();