Add a new system service: MediaCommunicationService
Bug: 175511943
Test: MediaCommunicationService can run.
'adb shell service list' shows the service.
Change-Id: I81a1e11d96d1d30a29760507be6fe04592afcf70
Merged-In: I81a1e11d96d1d30a29760507be6fe04592afcf70
This commit is contained in:
@@ -354,6 +354,9 @@ public final class SystemServer implements Dumpable {
|
||||
"com.android.server.ConnectivityServiceInitializer";
|
||||
private static final String IP_CONNECTIVITY_METRICS_CLASS =
|
||||
"com.android.server.connectivity.IpConnectivityMetrics";
|
||||
private static final String MEDIA_COMMUNICATION_SERVICE_CLASS =
|
||||
"com.android.server.media.MediaCommunicationService";
|
||||
|
||||
private static final String ROLE_SERVICE_CLASS = "com.android.role.RoleService";
|
||||
|
||||
private static final String TETHERING_CONNECTOR_CLASS = "android.net.ITetheringConnector";
|
||||
@@ -2502,6 +2505,10 @@ public final class SystemServer implements Dumpable {
|
||||
mSystemServiceManager.startService(APP_SEARCH_MANAGER_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("StartMediaCommunicationService");
|
||||
mSystemServiceManager.startService(MEDIA_COMMUNICATION_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
ConcurrentUtils.waitForFutureNoInterrupt(mBlobStoreServiceStart,
|
||||
START_BLOB_STORE_SERVICE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user