fd87fb65fb2dbaa518ac00b0f44a9f9057459f96
The onError callback can use the same future as the onResult callback by calling completeExceptionally. This change is also removing the test for a specific exception message. Testing for a specific exception message would mean that tests break if we ever were to update them. If we decide that there is value to distinguish between different types of EthernetNetworkManagementException we should probably subclass it internally. Test: atest EthernetNetworkFactoryTest Change-Id: Ib6f8cf79fc26e0f856c880cbe505b101f12aa187
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%