summaryrefslogtreecommitdiff
path: root/services/java/com/android
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2019-12-03 08:40:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-12-03 08:40:07 +0000
commit7d8a624085022c2bbffc446077e2389dd0c34c73 (patch)
treeffbd760080685a898506f73e51aa8c231e5eca48 /services/java/com/android
parent932dda858a13a2b7bc8fe2f20fad1d451d37e3f6 (diff)
parent3352cfce2f48d2555ea73e7f80ebab3ba5827640 (diff)
Merge "Add a new time zone detection service"
Diffstat (limited to 'services/java/com/android')
-rw-r--r--services/java/com/android/server/SystemServer.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index adf3218e42d3..a5cc82a4fdac 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -272,6 +272,8 @@ public final class SystemServer {
"com.android.internal.car.CarServiceHelperService";
private static final String TIME_DETECTOR_SERVICE_CLASS =
"com.android.server.timedetector.TimeDetectorService$Lifecycle";
+ private static final String TIME_ZONE_DETECTOR_SERVICE_CLASS =
+ "com.android.server.timezonedetector.TimeZoneDetectorService$Lifecycle";
private static final String ACCESSIBILITY_MANAGER_SERVICE_CLASS =
"com.android.server.accessibility.AccessibilityManagerService$Lifecycle";
private static final String ADB_SERVICE_CLASS =
@@ -1464,6 +1466,14 @@ public final class SystemServer {
}
traceEnd();
+ traceBeginAndSlog("StartTimeZoneDetectorService");
+ try {
+ mSystemServiceManager.startService(TIME_ZONE_DETECTOR_SERVICE_CLASS);
+ } catch (Throwable e) {
+ reportWtf("starting StartTimeZoneDetectorService service", e);
+ }
+ traceEnd();
+
if (!isWatch) {
traceBeginAndSlog("StartSearchManagerService");
try {