Merge "remember and report network score" am: e472bf0970

Original change: undetermined

Change-Id: I4cf7cf0191e6dad4d6122145d8b1d690c0679e7c
This commit is contained in:
vandwalle
2021-05-31 07:55:51 +00:00
committed by Automerger Merge Worker

View File

@@ -80,6 +80,11 @@ public abstract class NetworkAgent extends Handler {
*/
public static final int EVENT_NETWORK_PROPERTIES_CHANGED = BASE + 3;
/* centralize place where base network score, and network score scaling, will be
* stored, so as we can consistently compare apple and oranges, or wifi, ethernet and LTE
*/
public static final int WIFI_BASE_SCORE = 60;
/**
* Sent by the NetworkAgent to ConnectivityService to pass the current
* network score.