Merge "Fix R8 full mode for Tethering"

This commit is contained in:
Treehugger Robot 2022-04-20 06:39:13 +00:00 • committed by Gerrit Code Review
commit 498919b44c

View file

@ -12,6 +12,11 @@
native <methods>;
}
# Ensure runtime-visible field annotations are kept when using R8 full mode.
-keepattributes RuntimeVisibleAnnotations,AnnotationDefault
-keep interface com.android.networkstack.tethering.util.Struct$Field {
*;
}
-keepclassmembers public class * extends com.android.networkstack.tethering.util.Struct {
*;
}