Remi NGUYEN VAN | 776d7f7 | 2019-03-26 14:58:08 +0900 | [diff] [blame] | 1 | -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 VAN | 84ba815 | 2020-06-22 18:50:20 +0900 | [diff] [blame] | 10 | |
Xiao Ma | 3fb61fc | 2020-12-23 08:19:19 +0000 | [diff] [blame] | 11 | -keepclassmembers public class * extends com.android.networkstack.util.Struct { |
Remi NGUYEN VAN | be3c865 | 2021-04-14 00:57:21 +0000 | [diff] [blame] | 12 | *; |
Xiao Ma | 3fb61fc | 2020-12-23 08:19:19 +0000 | [diff] [blame] | 13 | } |
| 14 | |
Remi NGUYEN VAN | 84ba815 | 2020-06-22 18:50:20 +0900 | [diff] [blame] | 15 | # 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>; } |