Add SIP service into system server.
Change-Id: Icc39e4e54768cfdcc1b20a3efe6206009b9a8d10
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
package com.android.server;
|
||||
|
||||
import com.android.server.am.ActivityManagerService;
|
||||
import com.android.server.sip.SipService;
|
||||
import com.android.internal.os.BinderInternal;
|
||||
import com.android.internal.os.SamplingProfilerIntegration;
|
||||
|
||||
@@ -415,6 +416,13 @@ class ServerThread extends Thread {
|
||||
} catch (Throwable e) {
|
||||
Slog.e(TAG, "Failure starting DiskStats Service", e);
|
||||
}
|
||||
|
||||
try {
|
||||
Slog.i(TAG, "Sip Service");
|
||||
ServiceManager.addService("sip", new SipService(context));
|
||||
} catch (Throwable e) {
|
||||
Slog.e(TAG, "Failure starting DiskStats Service", e);
|
||||
}
|
||||
}
|
||||
|
||||
// make sure the ADB_ENABLED setting value matches the secure property value
|
||||
|
||||
Reference in New Issue
Block a user