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

Commit bee90ae5 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...

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

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Contacts/+/3438600



Change-Id: Ic82611dd576f34d56e745617258eb396989a4dda
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b4c65c0d 4bdd9716
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 *;
}