3a7d92513fa4fce0c9ecaba53f3e6ae8f8662782
Currently, NetworkCallbackTest gets the capabilities of current active network to track the network used for the tests. And construct the request with the capabilities gets from the network. This causes test fails if the capabilities contain signal strength, since it requires NETWORK_SIGNAL_STRENGTH_WAKEUP to be declared. Thus, this patch null out several fields from capabilities of the current active network to construct the new request in order to prevent over-specifying the requirement. Test: atest CtsHostsideNetworkTests:com.android.cts.net.HostsideNetworkCallbackTests Bug: 182516128 Change-Id: Ib79b38e63ad2083c29fd71a24b8686b3f6f4e12f
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%