Without this, proguard strips tcFilterAddDevIngressPolice (as its unused inside the Tethering apk) and crashes the system. Bug: 202086915 Bug: 157552970 Test: device boots Change-Id: I3f29a2d2371ecbfad929f8812f7f15f68258b5d1
22 lines
562 B
Plaintext
22 lines
562 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.util.BpfMap {
|
|
native <methods>;
|
|
}
|
|
|
|
-keep class com.android.networkstack.tethering.util.TcUtils {
|
|
native <methods>;
|
|
}
|
|
|
|
-keepclassmembers public class * extends com.android.networkstack.tethering.util.Struct {
|
|
*;
|
|
}
|
|
|
|
-keepclassmembers class android.net.ip.IpServer {
|
|
static final int CMD_*;
|
|
}
|