initial Best Network Selection implementation
-add dhcpserver, defaultGwMAC address, linked configuration and user choices link lists to WiFiconfiguration -add default gateway mac address to RouteInfo -add a Date to the ScanResult -add BSSID date to the WifiConfiguration - make framework auto-join into a config option - add Settings option for showing RSSI in Wifi picker view; add auto-join specific status to WifiConfiguration Change-Id: I5cfc4f2a48c9f3bc9766e8e68e24eff7b57f2821 Changes to be committed: modified: core/java/android/provider/Settings.java modified: wifi/java/android/net/wifi/ScanResult.java modified: wifi/java/android/net/wifi/WifiConfiguration.java
This commit is contained in:
@ -604,6 +604,14 @@ public final class SystemServer {
|
||||
}
|
||||
|
||||
if (!disableNetwork) {
|
||||
try {
|
||||
Slog.i(TAG, "Network Score Service");
|
||||
networkScore = new NetworkScoreService(context);
|
||||
ServiceManager.addService(Context.NETWORK_SCORE_SERVICE, networkScore);
|
||||
} catch (Throwable e) {
|
||||
reportWtf("starting Network Score Service", e);
|
||||
}
|
||||
|
||||
try {
|
||||
Slog.i(TAG, "NetworkStats Service");
|
||||
networkStats = new NetworkStatsService(context, networkManagement, alarm);
|
||||
@ -652,14 +660,6 @@ public final class SystemServer {
|
||||
reportWtf("starting Connectivity Service", e);
|
||||
}
|
||||
|
||||
try {
|
||||
Slog.i(TAG, "Network Score Service");
|
||||
networkScore = new NetworkScoreService(context);
|
||||
ServiceManager.addService(Context.NETWORK_SCORE_SERVICE, networkScore);
|
||||
} catch (Throwable e) {
|
||||
reportWtf("starting Network Score Service", e);
|
||||
}
|
||||
|
||||
try {
|
||||
Slog.i(TAG, "Network Service Discovery Service");
|
||||
serviceDiscovery = NsdService.create(context);
|
||||
|
Reference in New Issue
Block a user