Install com.android.car.ui.sharedlibrary in system
Bug: 157783015
Test: atest
android.server.wm.ActivityManagerGetConfigTests#testDeviceConfig
Change-Id: I23b3e53d0621d289fbe719bec41bc2029fc4cb87
diff --git a/car_product/build/preinstalled-packages-product-car-base.xml b/car_product/build/preinstalled-packages-product-car-base.xml
index e888eb5..9587c83 100644
--- a/car_product/build/preinstalled-packages-product-car-base.xml
+++ b/car_product/build/preinstalled-packages-product-car-base.xml
@@ -166,6 +166,12 @@
<install-in user-type="SYSTEM" />
</install-in-user-type>
+ <!-- Failed to pass CTS if not installed for system user -->
+ <install-in-user-type package="com.android.car.ui.sharedlibrary">
+ <install-in user-type="FULL" />
+ <install-in user-type="SYSTEM" />
+ </install-in-user-type>
+
<!--
Apps that do need to run on SYSTEM and evaluated by package owner.
Here the apps will have FULL only.
@@ -260,9 +266,6 @@
<install-in-user-type package="com.android.car.calendar">
<install-in user-type="FULL" />
</install-in-user-type>
- <install-in-user-type package="com.android.car.ui.sharedlibrary">
- <install-in user-type="FULL" />
- </install-in-user-type>
<install-in-user-type package="com.android.wifi.inprocess.overlay.car">
<install-in user-type="FULL" />
</install-in-user-type>