summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2021-09-25 17:04:42 -0700
committer Yeabkal Wubshit <yeabkal@google.com> 2022-11-03 22:56:20 +0000
commitf19567bfaa0cdf913370c95d91e79436ac206c79 (patch)
treee52fe98e93aae5ea05c00382350c46f440d859a0
parent12a5b759ce4864c184c85b4b055960993ad3249f (diff)
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)
-rw-r--r--services/java/com/android/server/SystemServer.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index 593e64828ffc..88c0ec6d9c95 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -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();