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

Commit 457d02d4 authored by Christoffer Adamsen's avatar Christoffer Adamsen Committed by Gerrit Code Review
Browse files

Merge "Explicitly keep default constructor in rules without members" into main

parents d3b0191c dbb25f14
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -23,7 +23,10 @@ public protected *;
}

# Keep classes and members that have the @UnsupportedAppUsage annotation
-keep @**.UnsupportedAppUsage class *
# TODO(b/373579455): Evaluate if <init> needs to be kept.
-keep @**.UnsupportedAppUsage class * {
    void <init>();
}
-keepclassmembers class * {
    @**.UnsupportedAppUsage *;
}