Initial implementation of User HAL and STR integration.
This CL paves the way for using User HAL's INITIAL_USER_INFO property
to set the initial user when the device resumes from suspend from ram.
Test: atest CarServiceUnitTest:com.android.car.CarPowerManagementServiceTest \
CarServiceUnitTest:com.android.car.user.CarUserServiceTest
Bug: 150419143
Change-Id: I61343856aea03f6deb462c34b687a9e16ab5c54f
diff --git a/service/src/com/android/car/ICarImpl.java b/service/src/com/android/car/ICarImpl.java
index 1fd3737..6eed762 100644
--- a/service/src/com/android/car/ICarImpl.java
+++ b/service/src/com/android/car/ICarImpl.java
@@ -187,7 +187,7 @@
mCarOccupantZoneService = new CarOccupantZoneService(serviceContext);
mSystemActivityMonitoringService = new SystemActivityMonitoringService(serviceContext);
mCarPowerManagementService = new CarPowerManagementService(mContext, mHal.getPowerHal(),
- systemInterface, mUserManagerHelper);
+ systemInterface, mUserManagerHelper, mCarUserService);
if (mFeatureController.isFeatureEnabled(CarFeatures.FEATURE_CAR_USER_NOTICE_SERVICE)) {
mCarUserNoticeService = new CarUserNoticeService(serviceContext);
} else {