21924545a2408efefa34e18683c84c441e8c917d
Currently, every call to avoidBadWifi fetches the current value of the config variable and setting whenever it is called. This means that the score of an unvalidated wifi network can unpredictably change at any time, creating a data race. Instead, persist the value and only update it when something changes. Bug: 31075769 Change-Id: I0f4e0e742c91ef77fabc95d3ebb494338396aca5
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%