summaryrefslogtreecommitdiff
path: root/proguard.flags
blob: af4262a4eea74cf3639df1cda877e5f4adb6519c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-keepclassmembers class android.net.ip.IpClient {
    static final int CMD_*;
    static final int EVENT_*;
}

-keepclassmembers class android.net.dhcp.DhcpClient {
    static final int CMD_*;
    static final int EVENT_*;
}

# The lite proto runtime uses reflection to access fields based on the names in
# the schema, keep all the fields.
# This replicates the base proguard rule used by the build by default
# (proguard_basic_keeps.flags), but needs to be specified here because the
# com.google.protobuf package is jarjared to the below package.
-keepclassmembers class * extends com.android.networkstack.protobuf.MessageLite { <fields>; }