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

Commit acc50599 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "systemserver: start displayoffload service"

parents bd20f025 ff0f4b43
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -302,6 +302,8 @@ public final class SystemServer implements Dumpable {
            "com.android.clockwork.power.WearPowerService";
    private static final String WEAR_SIDEKICK_SERVICE_CLASS =
            "com.google.android.clockwork.sidekick.SidekickService";
    private static final String WEAR_DISPLAYOFFLOAD_SERVICE_CLASS =
            "com.google.android.clockwork.displayoffload.DisplayOffloadService";
    private static final String WEAR_DISPLAY_SERVICE_CLASS =
            "com.google.android.clockwork.display.WearDisplayService";
    private static final String WEAR_LEFTY_SERVICE_CLASS =
@@ -1119,6 +1121,13 @@ public final class SystemServer implements Dumpable {
        mSystemServiceManager.startService(LightsService.class);
        t.traceEnd();

        t.traceBegin("StartDisplayOffloadService");
        // Package manager isn't started yet; need to use SysProp not hardware feature
        if (SystemProperties.getBoolean("config.enable_display_offload", false)) {
            mSystemServiceManager.startService(WEAR_DISPLAYOFFLOAD_SERVICE_CLASS);
        }
        t.traceEnd();

        t.traceBegin("StartSidekickService");
        // Package manager isn't started yet; need to use SysProp not hardware feature
        if (SystemProperties.getBoolean("config.enable_sidekick_graphics", false)) {