Merge "Fix R8 full mode for Tethering" am: 498919b44c
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2068439 Change-Id: I81349e6cfc9a7f9f6822e7885b97f8af68ecd7d1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
c7b8a9a803
1 changed files with 5 additions and 0 deletions
|
|
@ -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 {
|
||||
*;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue