summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2014-05-21 16:32:11 -0700
committerLorenzo Colitti <lorenzo@google.com>2014-05-21 16:41:24 -0700
commitf9ff2c9ae5595a20d77b10a41386932de1fc2da2 (patch)
tree5c122f3e21dfb7764a4d4fcfd1018f569839a5bd /services
parent4e5aa2cee69f6791f8001aeb1fc12389863fab8f (diff)
downloadframeworks_base-f9ff2c9ae5595a20d77b10a41386932de1fc2da2.zip
frameworks_base-f9ff2c9ae5595a20d77b10a41386932de1fc2da2.tar.gz
frameworks_base-f9ff2c9ae5595a20d77b10a41386932de1fc2da2.tar.bz2
Make the EthernetManager available.
Change-Id: I7a60e977d7a40a5d0367168f2f6633ccae591ac4
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/SystemServer.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index 55ae9c6..de46b16 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -130,6 +130,8 @@ public final class SystemServer {
"com.android.server.wifi.p2p.WifiP2pService";
private static final String HDMI_CEC_SERVICE_CLASS =
"com.android.server.hdmi.HdmiCecService";
+ private static final String ETHERNET_SERVICE_CLASS =
+ "com.android.server.ethernet.EthernetService";
private final int mFactoryTestMode;
private Timer mProfilerSnapshotTimer;
@@ -660,6 +662,12 @@ public final class SystemServer {
}
try {
+ mSystemServiceManager.startService(ETHERNET_SERVICE_CLASS);
+ } catch (Throwable e) {
+ reportWtf("starting Ethernet Service", e);
+ }
+
+ try {
Slog.i(TAG, "Connectivity Service");
connectivity = new ConnectivityService(
context, networkManagement, networkStats, networkPolicy);