3674367bcc21ddb5f3d3ab115fe91bab35671bdc
Add tests for requestNetwork and registerNetworkCallback with PendingIntents that are equal as per PendingIntent.intentFilterEquals. In such situations, the first request is documented to be automatically unregistered. This means that the PendingIntent should only be fired once, instead of being fired for both requests. Currently this behavior is broken for network callbacks (not for network requests). Test: atest ConnectivityManagerTest Bug: 174237997 Original-Change: https://android-review.googlesource.com/1742073 Merged-In: Ic636c731c71474ef09043d7a26ccfd6e2bb5c39f Change-Id: Ic636c731c71474ef09043d7a26ccfd6e2bb5c39f
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%