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

Commit 889523a2 authored by yzj's avatar yzj Committed by Josh Yang
Browse files

Re-enable Wear OS system services.

Bug: 191495635
Test: manual test
Change-Id: Ie476940e213e488bf023fbc1509d24c6f3128302
parent 4081969f
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2079,14 +2079,11 @@ public final class SystemServer implements Dumpable {
            mSystemServiceManager.startService(DockObserver.class);
            t.traceEnd();

            // TODO(b/191495635): re-enable thermal observer after fixing b/191375904.
            /*
            if (isWatch) {
                t.traceBegin("StartThermalObserver");
                mSystemServiceManager.startService(THERMAL_OBSERVER_CLASS);
                t.traceEnd();
            }
            */

            t.traceBegin("StartWiredAccessoryManager");
            try {
@@ -2440,8 +2437,6 @@ public final class SystemServer implements Dumpable {
            t.traceEnd();
        }

        // TODO(b/191495635): Re-enable these services after fixing b/191375904.
       /*
       if (isWatch) {
            // Must be started before services that depend it, e.g. WearConnectivityService
            t.traceBegin("StartWearPowerService");
@@ -2470,7 +2465,6 @@ public final class SystemServer implements Dumpable {
            mSystemServiceManager.startService(WEAR_GLOBAL_ACTIONS_SERVICE_CLASS);
            t.traceEnd();
        }
        */

        if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_SLICES_DISABLED)) {
            t.traceBegin("StartSliceManagerService");