diff --git a/uwb/aidl/default/Android.bp b/uwb/aidl/default/Android.bp index 9621f2cb10..f585de9f06 100644 --- a/uwb/aidl/default/Android.bp +++ b/uwb/aidl/default/Android.bp @@ -11,6 +11,7 @@ rust_binary { name: "android.hardware.uwb-service", crate_name: "uwb_default_hal", relative_install_path: "hw", + init_rc: ["uwb-service.rc"], vintf_fragments: ["uwb-service.xml"], vendor: true, rustlibs: [ diff --git a/uwb/aidl/default/uwb-service.rc b/uwb/aidl/default/uwb-service.rc new file mode 100644 index 0000000000..958969b85d --- /dev/null +++ b/uwb/aidl/default/uwb-service.rc @@ -0,0 +1,3 @@ +service vendor.uwb_hal /vendor/bin/hw/android.hardware.uwb-service ${ro.vendor.uwb.dev} + class hal + user uwb