cef9c490ad0e10e7e6f24ba33e8313da01b72577
http://ag/1194313 broke unregisterNetworkCallback because the system does not parcel the type of the request back to the app. So when the app calls unregisterNetworkCallback, the NetworkRequest that's passed in does not have a type and thus doesn't match the request in mNetworkRequests. Fix this by parceling over the type as well. This was not caught by the unit test because the unit test all runs in the same process with no parceling. Bug: 23113288 Change-Id: I58b2ed651b9bf5cbdcca5b25c3ca24db53cffdf1
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%