Merge "Enable Ethernet if the device has FEATURE_USB_HOST." into m-wireless-dev
This commit is contained in:
committed by
Android Partner Code Review
commit
1c55b90925
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user