Merge "Enable Ethernet if the device has FEATURE_USB_HOST." into m-wireless-dev

This commit is contained in:
Lorenzo Colitti
2015-03-05 06:53:52 +00:00
committed by Android Partner Code Review

View File

@@ -677,7 +677,8 @@ public final class SystemServer {
mSystemServiceManager.startService("com.android.server.wifi.RttService"); mSystemServiceManager.startService("com.android.server.wifi.RttService");
if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_ETHERNET)) { if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_ETHERNET) ||
mPackageManager.hasSystemFeature(PackageManager.FEATURE_USB_HOST)) {
mSystemServiceManager.startService(ETHERNET_SERVICE_CLASS); mSystemServiceManager.startService(ETHERNET_SERVICE_CLASS);
} }