From 3e0519690f3d48e9fee99e9afee6866b86e74684 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Mon, 21 Aug 2023 12:57:20 +0900 Subject: [PATCH] Move uwb-service.rc Previously, .rc file is installed separately. Now it's installed as part of the uwb-service binary installation. Bug: 296487624 Test: launch cuttlefish / uwb-service runs with /dev/hvc9 Change-Id: I49108c74a5ca964818c90407cc7916d80439d5ab --- uwb/aidl/default/Android.bp | 1 + uwb/aidl/default/uwb-service.rc | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 uwb/aidl/default/uwb-service.rc 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