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

Commit 1ae18bb7 authored by Josh Yang's avatar Josh Yang Committed by Android (Google) Code Review
Browse files

Merge "Temporarily disable wearable system services."

parents a1b01afd 8e0bf818
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2066,11 +2066,14 @@ 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 {
@@ -2424,6 +2427,8 @@ 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");
@@ -2452,6 +2457,7 @@ 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");