61c79256b12c323ff621d465553352cbf1eb3c19
It's fine to do this out of the if() clause because : • If the network newly satisfies a request it is sure to have it in the list of requests it satisfies • If it does not newly satisfy a request and there is still a request with a legacy type that it satisfies, then it is already remembered by LegacyTypeTracker As for the VPN, the code always enters the condition anyway. Test: ConnectivityServiceTest Change-Id: I8bd668ad27043d6a5036b1b3c52fa5a3146abcfa
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%