From 08b5a000c07dc9611edaa18281fd018680b173e0 Mon Sep 17 00:00:00 2001 From: Arian Date: Tue, 8 Sep 2020 20:06:41 +0200 Subject: [PATCH] davinci: light: Add lights HAL manifest as vintf fragment Change-Id: I97f0c6bfb25bea8b7418c9494c981e7e2602c79f --- configs/hidl/manifest.xml | 10 ---------- light/Android.bp | 1 + light/android.hardware.light@2.0-service.davinci.xml | 12 ++++++++++++ 3 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 light/android.hardware.light@2.0-service.davinci.xml diff --git a/configs/hidl/manifest.xml b/configs/hidl/manifest.xml index ddd7c1b..58afc07 100644 --- a/configs/hidl/manifest.xml +++ b/configs/hidl/manifest.xml @@ -172,16 +172,6 @@ @4.0::IKeymasterDevice/default - - android.hardware.light - hwbinder - 2.0 - - ILight - default - - @2.0::ILight/default - android.hardware.media.omx hwbinder diff --git a/light/Android.bp b/light/Android.bp index dc18935..bad17a6 100644 --- a/light/Android.bp +++ b/light/Android.bp @@ -16,6 +16,7 @@ cc_binary { name: "android.hardware.light@2.0-service.davinci", defaults: ["hidl_defaults"], + vintf_fragments: ["android.hardware.light@2.0-service.davinci.xml"], init_rc: ["android.hardware.light@2.0-service.davinci.rc"], relative_install_path: "hw", srcs: [ diff --git a/light/android.hardware.light@2.0-service.davinci.xml b/light/android.hardware.light@2.0-service.davinci.xml new file mode 100644 index 0000000..ee7b2f3 --- /dev/null +++ b/light/android.hardware.light@2.0-service.davinci.xml @@ -0,0 +1,12 @@ + + + android.hardware.light + hwbinder + 2.0 + + ILight + default + + @2.0::ILight/default + +