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

Commit f19567bf authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

Remove init for Wear Lefty Service

The service has been removed, so the init logic in the SystemServer
should also been removed.

Bug: 200706260
Tested: build passes
Change-Id: I3955571b66e7748f54b8136318a8d141c2dbcd15
(cherry picked from commit 7a5641422fe84106fced84daba3a0ee34f0d6aab)
(cherry picked from commit af07c8b703ae63666481fe89cc0b3f5c11c98741)
parent 12a5b759
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -318,8 +318,6 @@ public final class SystemServer implements Dumpable {
            "com.android.clockwork.displayoffload.DisplayOffloadService";
    private static final String WEAR_DISPLAY_SERVICE_CLASS =
            "com.android.clockwork.display.WearDisplayService";
    private static final String WEAR_LEFTY_SERVICE_CLASS =
            "com.google.android.clockwork.lefty.WearLeftyService";
    private static final String WEAR_TIME_SERVICE_CLASS =
            "com.android.clockwork.time.WearTimeService";
    private static final String WEAR_GLOBAL_ACTIONS_SERVICE_CLASS =
@@ -1404,7 +1402,6 @@ public final class SystemServer implements Dumpable {
                false);
        boolean disableCameraService = SystemProperties.getBoolean("config.disable_cameraservice",
                false);
        boolean enableLeftyService = SystemProperties.getBoolean("config.enable_lefty", false);

        boolean isEmulator = SystemProperties.get("ro.boot.qemu").equals("1");

@@ -2502,12 +2499,6 @@ public final class SystemServer implements Dumpable {
            mSystemServiceManager.startService(WEAR_TIME_SERVICE_CLASS);
            t.traceEnd();

            if (enableLeftyService) {
                t.traceBegin("StartWearLeftyService");
                mSystemServiceManager.startService(WEAR_LEFTY_SERVICE_CLASS);
                t.traceEnd();
            }

            t.traceBegin("StartWearGlobalActionsService");
            mSystemServiceManager.startService(WEAR_GLOBAL_ACTIONS_SERVICE_CLASS);
            t.traceEnd();