Enable car-ui-lib RROs on all products

Previously the RRO relied on
ro.build.characteristics to be set to
"automotive", which wasn't the case on all
devices. Define a new system property that is
the same across all products with the reference
design.

Fixes: 172085113
Test: Manually
Change-Id: Ic1c5990912a69cceee3968edfd67521c9aa73aa4
diff --git a/car-ui-lib/referencedesign/AndroidManifest-overlayable.xml b/car-ui-lib/referencedesign/AndroidManifest-overlayable.xml
index 214755c..1b0585a 100644
--- a/car-ui-lib/referencedesign/AndroidManifest-overlayable.xml
+++ b/car-ui-lib/referencedesign/AndroidManifest-overlayable.xml
@@ -6,6 +6,6 @@
         android:targetName="car-ui-lib"
         android:resourcesMap="@xml/overlays"
         android:isStatic="true"
-        android:requiredSystemPropertyName="ro.build.characteristics"
-        android:requiredSystemPropertyValue="automotive"/>
+        android:requiredSystemPropertyName="ro.build.car_ui_rros_enabled"
+        android:requiredSystemPropertyValue="true"/>
 </manifest>
diff --git a/car-ui-lib/referencedesign/AndroidManifest.xml b/car-ui-lib/referencedesign/AndroidManifest.xml
index a6dbae3..0994382 100644
--- a/car-ui-lib/referencedesign/AndroidManifest.xml
+++ b/car-ui-lib/referencedesign/AndroidManifest.xml
@@ -5,6 +5,6 @@
         android:targetPackage="{{TARGET_PACKAGE_NAME}}"
         android:resourcesMap="@xml/overlays"
         android:isStatic="true"
-        android:requiredSystemPropertyName="ro.build.characteristics"
-        android:requiredSystemPropertyValue="automotive"/>
+        android:requiredSystemPropertyName="ro.build.car_ui_rros_enabled"
+        android:requiredSystemPropertyValue="true"/>
 </manifest>
diff --git a/car-ui-lib/referencedesign/product.mk b/car-ui-lib/referencedesign/product.mk
index 50de382..b539999 100644
--- a/car-ui-lib/referencedesign/product.mk
+++ b/car-ui-lib/referencedesign/product.mk
@@ -39,3 +39,7 @@
     googlecarui-overlayable-com-google-android-carassistant \
     googlecarui-overlayable-com-google-android-tts \
     googlecarui-overlayable-com-android-vending \
+
+# This system property is used to enable the RROs on startup via
+# the requiredSystemPropertyName/Value attributes in the manifest
+PRODUCT_PRODUCT_PROPERTIES += ro.build.car_ui_rros_enabled=true