Merge "Enable Ethernet if the device has FEATURE_USB_HOST."
This commit is contained in:
committed by
Android (Google) Code Review
commit
be93f28d5b
@@ -669,7 +669,8 @@ public final class SystemServer {
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user