blob: 7f8f2079ecdc76993347446b7670187ac7439469 [file] [log] [blame]
Remi NGUYEN VAN776d7f72019-03-26 14:58:08 +09001-keepclassmembers class android.net.ip.IpClient {
2 static final int CMD_*;
3 static final int EVENT_*;
4}
5
6-keepclassmembers class android.net.dhcp.DhcpClient {
7 static final int CMD_*;
8 static final int EVENT_*;
9}
Remi NGUYEN VAN84ba8152020-06-22 18:50:20 +090010
Xiao Ma3fb61fc2020-12-23 08:19:19 +000011-keepclassmembers public class * extends com.android.networkstack.util.Struct {
Remi NGUYEN VANbe3c8652021-04-14 00:57:21 +000012 *;
Xiao Ma3fb61fc2020-12-23 08:19:19 +000013}
14
Remi NGUYEN VAN84ba8152020-06-22 18:50:20 +090015# The lite proto runtime uses reflection to access fields based on the names in
16# the schema, keep all the fields.
17# This replicates the base proguard rule used by the build by default
18# (proguard_basic_keeps.flags), but needs to be specified here because the
19# com.google.protobuf package is jarjared to the below package.
20-keepclassmembers class * extends com.android.networkstack.protobuf.MessageLite { <fields>; }