Merge "Move the Thread proguard flags to ConnectivityService's proguard.flags" into main
This commit is contained in:
commit
96361bc4cd
3 changed files with 4 additions and 7 deletions
|
|
@ -15,3 +15,7 @@
|
|||
static final % EVENT_*;
|
||||
}
|
||||
|
||||
# b/313539492 Keep the onLocalNetworkInfoChanged method in classes extending Connectivity.NetworkCallback.
|
||||
-keepclassmembers class * extends **android.net.ConnectivityManager$NetworkCallback {
|
||||
public void onLocalNetworkInfoChanged(**android.net.Network, **android.net.LocalNetworkInfo);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,9 +47,6 @@ java_library {
|
|||
"ot-daemon-aidl-java",
|
||||
],
|
||||
apex_available: ["com.android.tethering"],
|
||||
optimize: {
|
||||
proguard_flags_files: ["proguard.flags"],
|
||||
},
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
# Ensure the callback methods are not stripped
|
||||
-keepclassmembers class **.ThreadNetworkControllerService$ThreadNetworkCallback {
|
||||
*;
|
||||
}
|
||||
Loading…
Reference in a new issue