add skeleton CarPackageManager
bug: 26037727
Change-Id: I0817dd54b1e33cb7366ed4e12e191f94e0fdb0c3
diff --git a/service/src/com/android/car/ICarImpl.java b/service/src/com/android/car/ICarImpl.java
index ed68583..abea6f7 100644
--- a/service/src/com/android/car/ICarImpl.java
+++ b/service/src/com/android/car/ICarImpl.java
@@ -50,6 +50,7 @@
private final CarHvacService mCarHvacService;
private final CarRadioService mCarRadioService;
private final AppContextService mAppContextService;
+ private final CarPackageManagerService mCarPackageManagerService;
/** Test only service. Populate it only when necessary. */
@GuardedBy("this")
@@ -86,10 +87,12 @@
mCarAudioService = new CarAudioService(serviceContext, mAppContextService);
mCarHvacService = new CarHvacService(serviceContext);
mCarRadioService = new CarRadioService(serviceContext);
+ mCarPackageManagerService = new CarPackageManagerService(serviceContext);
// Be careful with order. Service depending on other service should be inited later.
mAllServices = new CarServiceBase[] {
mCarPowerManagementService,
+ mCarPackageManagerService,
mCarInfoService,
mAppContextService,
mCarSensorService,
@@ -169,6 +172,9 @@
case Car.APP_CONTEXT_SERVICE:
return mAppContextService;
+ case Car.PACKAGE_SERVICE:
+ return mCarPackageManagerService;
+
case CarSystem.HVAC_SERVICE:
assertHvacPermission(mContext);
return mCarHvacService;