Merge "SystemServer: cherry-pick p2p service start"
This commit is contained in:
@@ -840,7 +840,11 @@ public final class SystemServer {
|
|||||||
} else {
|
} else {
|
||||||
Slog.i(TAG, "No Wi-Fi Aware Service (Aware support Not Present)");
|
Slog.i(TAG, "No Wi-Fi Aware Service (Aware support Not Present)");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (context.getPackageManager().hasSystemFeature(
|
||||||
|
PackageManager.FEATURE_WIFI_DIRECT)) {
|
||||||
mSystemServiceManager.startService(WIFI_P2P_SERVICE_CLASS);
|
mSystemServiceManager.startService(WIFI_P2P_SERVICE_CLASS);
|
||||||
|
}
|
||||||
mSystemServiceManager.startService(WIFI_SERVICE_CLASS);
|
mSystemServiceManager.startService(WIFI_SERVICE_CLASS);
|
||||||
mSystemServiceManager.startService(
|
mSystemServiceManager.startService(
|
||||||
"com.android.server.wifi.scanner.WifiScanningService");
|
"com.android.server.wifi.scanner.WifiScanningService");
|
||||||
|
|||||||
Reference in New Issue
Block a user