Merge "enable MediaProjection Service"

This commit is contained in:
Josh Yang
2021-11-17 18:15:42 +00:00
committed by Android (Google) Code Review

View File

@@ -2474,11 +2474,9 @@ public final class SystemServer implements Dumpable {
t.traceEnd();
}
if (!isWatch) {
t.traceBegin("StartMediaProjectionManager");
mSystemServiceManager.startService(MediaProjectionManagerService.class);
t.traceEnd();
}
t.traceBegin("StartMediaProjectionManager");
mSystemServiceManager.startService(MediaProjectionManagerService.class);
t.traceEnd();
if (isWatch) {
// Must be started before services that depend it, e.g. WearConnectivityService