Removing old retail mode check
Switching logic has been moved so this check no longer does anything.
Change-Id: I83f00305024a5b6d35d6c9d1065a0a67a4472625
Fixes: 112645587
Test: Manual build and test
diff --git a/service/src/com/android/car/ICarImpl.java b/service/src/com/android/car/ICarImpl.java
index 25aa900..1dc1aeb 100644
--- a/service/src/com/android/car/ICarImpl.java
+++ b/service/src/com/android/car/ICarImpl.java
@@ -167,12 +167,9 @@
allServices.add(mCarConfigurationService);
allServices.add(mVmsSubscriberService);
allServices.add(mVmsPublisherService);
-
if (mUserManagerHelper.isHeadlessSystemUser()) {
- mCarUserService = new CarUserService(serviceContext, mUserManagerHelper);
- allServices.add(mCarUserService);
+ allServices.add(new CarUserService(serviceContext, mUserManagerHelper));
}
-
allServices.add(mCarLocationService);
mAllServices = allServices.toArray(new CarServiceBase[allServices.size()]);
}
@@ -612,4 +609,4 @@
return (Integer.decode(property) & VehicleArea.MASK) == VehicleArea.GLOBAL;
}
}
-}
\ No newline at end of file
+}