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

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

Change-Id: Ifa661040adcabc3892a7498cba97a53957b28512
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/java/com/android/dialer/proguard/proguard.flags b/java/com/android/dialer/proguard/proguard.flags
index 5145313..36ff1df 100644
--- a/java/com/android/dialer/proguard/proguard.flags
+++ b/java/com/android/dialer/proguard/proguard.flags
@@ -1,6 +1,12 @@
 # Keep the annotation, classes, methods, and fields marked as UsedByReflection
--keep class com.android.dialer.proguard.UsedByReflection
--keep @com.android.dialer.proguard.UsedByReflection class *
+# TODO(b/373579455): Evaluate if <init> needs to be kept.
+-keep class com.android.dialer.proguard.UsedByReflection {
+    void <init>();
+}
+# TODO(b/373579455): Evaluate if <init> needs to be kept.
+-keep @com.android.dialer.proguard.UsedByReflection class * {
+    void <init>();
+}
 -keepclassmembers class * {
     @com.android.dialer.proguard.UsedByReflection *;
 }