WifiService and WifiPasspointService hook up
- add a reference to passpoint service in wifi state machine - break dependency loop at boot phase Change-Id: I34c0ce55efa5235ebaba1fa6772f559d608ee5ba
This commit is contained in:
@ -127,7 +127,7 @@ public final class SystemServer {
|
||||
private static final String WIFI_SERVICE_CLASS =
|
||||
"com.android.server.wifi.WifiService";
|
||||
private static final String WIFI_PASSPOINT_SERVICE_CLASS =
|
||||
"com.android.server.wifi.passpoint.PasspointService";
|
||||
"com.android.server.wifi.passpoint.WifiPasspointService";
|
||||
private static final String WIFI_P2P_SERVICE_CLASS =
|
||||
"com.android.server.wifi.p2p.WifiP2pService";
|
||||
private static final String HDMI_CEC_SERVICE_CLASS =
|
||||
@ -643,18 +643,18 @@ public final class SystemServer {
|
||||
reportWtf("starting Wi-Fi P2pService", e);
|
||||
}
|
||||
|
||||
try {
|
||||
mSystemServiceManager.startService(WIFI_SERVICE_CLASS);
|
||||
} catch (Throwable e) {
|
||||
reportWtf("starting Wi-Fi Service", e);
|
||||
}
|
||||
|
||||
try {
|
||||
mSystemServiceManager.startService(WIFI_PASSPOINT_SERVICE_CLASS);
|
||||
} catch (Throwable e) {
|
||||
reportWtf("starting Wi-Fi PasspointService", e);
|
||||
}
|
||||
|
||||
try {
|
||||
mSystemServiceManager.startService(WIFI_SERVICE_CLASS);
|
||||
} catch (Throwable e) {
|
||||
reportWtf("starting Wi-Fi Service", e);
|
||||
}
|
||||
|
||||
try {
|
||||
Slog.i(TAG, "Wi-Fi Scanning Service");
|
||||
mSystemServiceManager.startService(
|
||||
|
Reference in New Issue
Block a user