04bd50464150032c33b42495225f11cc0f092055
Currently, if the lower layer, e.g. wifi, didn't successfully start keepalive by any reason. Due to the startedState changed to NOT_STARTED first, the logic inside stop() will skip the removing process and cause leak. Thus, moving the changing of startedState to proper place first to unblock subsequent changes first. Bug: 123988249 Bug: 129371366 Test: atest FrameworksNetTests Change-Id: I4bba01bacc80e1dac2023ef831b5ade5501894e4
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%