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 | e7c00c4 | 2020-06-22 18:50:20 +0900 | [diff] [blame] | 10 | |
| 11 | # The lite proto runtime uses reflection to access fields based on the names in |
| 12 | # the schema, keep all the fields. |
| 13 | # This replicates the base proguard rule used by the build by default |
| 14 | # (proguard_basic_keeps.flags), but needs to be specified here because the |
| 15 | # com.google.protobuf package is jarjared to the below package. |
| 16 | -keepclassmembers class * extends com.android.networkstack.protobuf.MessageLite { <fields>; } |