All members of the Struct class need to be kept, not just the constructor. Change-Id: I8705234eb2608c0dfe324c517b8885a93271b6c2 Test: m
18 lines
470 B
Plaintext
18 lines
470 B
Plaintext
# Keep class's integer static field for MessageUtils to parsing their name.
|
|
-keep class com.android.networkstack.tethering.Tethering$TetherMainSM {
|
|
static final int CMD_*;
|
|
static final int EVENT_*;
|
|
}
|
|
|
|
-keep class com.android.networkstack.tethering.BpfMap {
|
|
native <methods>;
|
|
}
|
|
|
|
-keepclassmembers public class * extends com.android.networkstack.tethering.util.Struct {
|
|
*;
|
|
}
|
|
|
|
-keepclassmembers class android.net.ip.IpServer {
|
|
static final int CMD_*;
|
|
}
|