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

Commit ab44cb9b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents fea79921 f60dd4f7
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -107,13 +107,19 @@
-keep class com.android.common.widget.CompositeCursorAdapter { *; }

# Any class or method annotated with NeededForReflection.
-keep @com.android.contacts.test.NeededForReflection class *
# TODO(b/373579455): Evaluate if <init> needs to be kept.
-keep @com.android.contacts.test.NeededForReflection class * {
  void <init>();
}
-keepclassmembers class * {
  @com.android.contacts.test.NeededForReflection *;
}

# Keep classes and methods that have the guava @VisibleForTesting annotation
-keep @com.google.common.annotations.VisibleForTesting class *
# TODO(b/373579455): Evaluate if <init> needs to be kept.
-keep @com.google.common.annotations.VisibleForTesting class * {
  void <init>();
}
-keepclassmembers class * {
  @com.google.common.annotations.VisibleForTesting *;
}