diff options
| author | 2017-06-05 12:20:41 -0700 | |
|---|---|---|
| committer | 2017-06-05 14:27:25 -0700 | |
| commit | 067cf3e8835cca3112ce99fbb01a0c7a431f7d06 (patch) | |
| tree | f74c576cc0171880981c25383553b61be829093d /services/java | |
| parent | 0ea89f0f409eecbbcd8d6b3850e93b8da7d2d54b (diff) | |
add skeleton CarServiceHelperService
- CarServiceHelperService is a companion service for car service which
is used only for car product.
- HelperService starts car service and provide necessary interface
for system server internal behavior control.
bug: 62342376
Test: test boot-up
Change-Id: I1728437434eab36bd2df6ba0a534731823bbcf35
Diffstat (limited to 'services/java')
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 66849c3e1348..272c11b985c5 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -63,6 +63,7 @@ import com.android.server.accessibility.AccessibilityManagerService; import com.android.server.am.ActivityManagerService; import com.android.server.audio.AudioService; import com.android.server.camera.CameraServiceProxy; +import com.android.server.car.CarServiceHelperService; import com.android.server.clipboard.ClipboardService; import com.android.server.connectivity.IpConnectivityMetrics; import com.android.server.coverage.CoverageService; @@ -1697,6 +1698,12 @@ public final class SystemServer { }, WEBVIEW_PREPARATION); } + if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { + traceBeginAndSlog("StartCarServiceHelperService"); + mSystemServiceManager.startService(CarServiceHelperService.class); + traceEnd(); + } + traceBeginAndSlog("StartSystemUI"); try { startSystemUi(context, windowManagerF); |