Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8b81b34 authored by Dongwon Kang's avatar Dongwon Kang
Browse files

Start MediaResourceMonitorService only when needed.

Bug:26564748
Change-Id: I5951008f403a11588dd84fb8dfc705c47bdca169
parent 197823da
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1129,7 +1129,9 @@ public final class SystemServer {
                mSystemServiceManager.startService(TvInputManagerService.class);
            }

            if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_PICTURE_IN_PICTURE)) {
                mSystemServiceManager.startService(MediaResourceMonitorService.class);
            }

            if (!disableNonCoreServices) {
                traceBeginAndSlog("StartMediaRouterService");