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

Commit 4bdd9716 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

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

parents bc53222b ab44cb9b
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 *;
}