2f9a465841b5d8afa4cff4af8ffdabcea63cbaa1
The onUnavailable semantics promise that it is equivalent to calling the unregister callback method. But - it doesn't unregister the callback allowing it to be reused. Fixed. Additionally, modified the unregisterNetworkCallback method to not fail on duplicate unregistration (since a callback could now self unregister). Instead simply print a log. Bug: 130651445 Test: atest ConnectivityServiceTest Merged-In: I4c54b003a733eb0b1e4fd8674ed13081b1bef8e3 Change-Id: I4c54b003a733eb0b1e4fd8674ed13081b1bef8e3
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%