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

Commit d9024725 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit Committed by Isma Cortes Vazquez
Browse files

Init SystemStateDisplayService on non-user builds

Tested: the target service is properly started on a device
Bug: 189107780
Change-Id: I7770d59b4a4ca94daec49989d28a44663e15d9a9
(cherry picked from commit 366c118f9920736018cbeaae122ade862149339a)
(cherry picked from commit 0bff13f69d438061fe6c14a4df9ff3d1048c90cc)
parent a7db450c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -326,6 +326,8 @@ public final class SystemServer implements Dumpable {
            "com.android.clockwork.power.WearPowerService";
    private static final String HEALTH_SERVICE_CLASS =
            "com.android.clockwork.healthservices.HealthService";
    private static final String SYSTEM_STATE_DISPLAY_SERVICE_CLASS =
            "com.android.clockwork.systemstatedisplay.SystemStateDisplayService";
    private static final String WEAR_SIDEKICK_SERVICE_CLASS =
            "com.google.android.clockwork.sidekick.SidekickService";
    private static final String WEAR_DISPLAYOFFLOAD_SERVICE_CLASS =
@@ -2591,6 +2593,10 @@ public final class SystemServer implements Dumpable {
            mSystemServiceManager.startService(HEALTH_SERVICE_CLASS);
            t.traceEnd();

            t.traceBegin("StartSystemStateDisplayService");
            mSystemServiceManager.startService(SYSTEM_STATE_DISPLAY_SERVICE_CLASS);
            t.traceEnd();

            t.traceBegin("StartWearConnectivityService");
            mSystemServiceManager.startService(WEAR_CONNECTIVITY_SERVICE_CLASS);
            t.traceEnd();