Start MediaResourceMonitorService only when needed.
Bug:26564748 Change-Id: I5951008f403a11588dd84fb8dfc705c47bdca169
This commit is contained in:
@@ -1129,7 +1129,9 @@ public final class SystemServer {
|
||||
mSystemServiceManager.startService(TvInputManagerService.class);
|
||||
}
|
||||
|
||||
mSystemServiceManager.startService(MediaResourceMonitorService.class);
|
||||
if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_PICTURE_IN_PICTURE)) {
|
||||
mSystemServiceManager.startService(MediaResourceMonitorService.class);
|
||||
}
|
||||
|
||||
if (!disableNonCoreServices) {
|
||||
traceBeginAndSlog("StartMediaRouterService");
|
||||
|
||||
Reference in New Issue
Block a user