efbfd7f6aeabdae14fb1a64bcc163e8c8ca48c99
This was broken by aosp/1657763, only on eng builds because of a wtf. The root cause of the issue is that the test is acquiring MAINLINE_NETWORK_STACK after it registers a callback but before in unregisters it. After aosp/1657763, the objects keeping track of callbacks are separate for processes with and without MAINLINE_NETWORK_STACK, which means the removal is looked up in a different counter. Solve this by having the NRI remember the relevant counter keeping track of it. Bug: none Test: testCaptivePortalApp Change-Id: I566a28522fa68be9cc2bdb4624b588b4f01d3b7e
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%