Add apex_defaults for consumerir HAL APEX
The IR HAL APEX can be defined by inheriting the default one. Note that
HAL in APEX can't load a legacy libhardware module from /vendor/lib/hw.
Instead, it tries to load the hardware module from the APEX. Hence, the
APEX inheriting this should embed it along with the HAL binary.
Bug: 300011390
Test: ConsumerIrTest VtsHalIrTargetTest hal_implementation_test
Change-Id: I14ab4a7e52195f630aa394f74a3f2852f6007ecc
diff --git a/ir/aidl/default/android.hardware.ir-service.example.rc b/ir/aidl/default/android.hardware.ir-service.example.rc
index d27f282..1a721da 100644
--- a/ir/aidl/default/android.hardware.ir-service.example.rc
+++ b/ir/aidl/default/android.hardware.ir-service.example.rc
@@ -1,4 +1,4 @@
-service vendor.ir-default /vendor/bin/hw/android.hardware.ir-service.example
+service vendor.ir-default /apex/com.android.hardware.ir/bin/hw/android.hardware.ir-service.example
class hal
user system
group system