Merge "Fix R8 full mode for Tethering"
This commit is contained in:
commit
498919b44c
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