Use PerUserCarService in the CarLocationService.
No longer listen to the PROVIDERS_CHANGED intent.
Bug: b/129371464
Test: atest CarLocationServiceTest LocationManagerProxyTest
Change-Id: I31217d148882ac5c0941d7c80cfc78718ae207a5
diff --git a/service/src/com/android/car/ICarImpl.java b/service/src/com/android/car/ICarImpl.java
index 31627b9..179dcb7 100644
--- a/service/src/com/android/car/ICarImpl.java
+++ b/service/src/com/android/car/ICarImpl.java
@@ -172,6 +172,7 @@
CarLocalServices.addService(CarTrustedDeviceService.class, mCarTrustedDeviceService);
CarLocalServices.addService(SystemInterface.class, mSystemInterface);
CarLocalServices.addService(CarDrivingStateService.class, mCarDrivingStateService);
+ CarLocalServices.addService(PerUserCarServiceHelper.class, mPerUserCarServiceHelper);
// Be careful with order. Service depending on other service should be inited later.
List<CarServiceBase> allServices = new ArrayList<>();