blob: 511a6b3fda8896dc32d38dec602e88fe42090bb2 [file] [log] [blame]
Remi NGUYEN VANf475a7e2022-07-21 19:14:31 +09001-keepclassmembers class com.android.networkstack.android.net.ip.IpClient {
Remi NGUYEN VAN776d7f72019-03-26 14:58:08 +09002 static final int CMD_*;
3 static final int EVENT_*;
4}
5
Remi NGUYEN VANf475a7e2022-07-21 19:14:31 +09006-keepclassmembers class com.android.networkstack.android.net.dhcp.DhcpClient {
Remi NGUYEN VAN776d7f72019-03-26 14:58:08 +09007 static final int CMD_*;
8 static final int EVENT_*;
9}
Remi NGUYEN VAN84ba8152020-06-22 18:50:20 +090010
Remi NGUYEN VANf475a7e2022-07-21 19:14:31 +090011-keepclassmembers public class * extends com.android.networkstack.com.android.net.module.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.
Remi NGUYEN VANf475a7e2022-07-21 19:14:31 +090020-keepclassmembers class * extends com.android.networkstack.com.google.protobuf.MessageLite { <fields>; }