diff --git a/light/Android.bp b/light/Android.bp index 6f710114..e3a91f6a 100644 --- a/light/Android.bp +++ b/light/Android.bp @@ -1,4 +1,4 @@ -// Copyright (C) 2018 The LineageOS Project +// Copyright (C) 2018,2020 The LineageOS Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ cc_binary { defaults: ["hidl_defaults"], name: "android.hardware.light@2.0-service.xiaomi_sdm660", init_rc: ["android.hardware.light@2.0-service.xiaomi_sdm660.rc"], + vintf_fragments: ["android.hardware.light@2.0-service.xiaomi_sdm660.xml"], srcs: ["service.cpp", "Light.cpp"], shared_libs: [ "libbase", diff --git a/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml b/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml new file mode 100644 index 00000000..6bf62e99 --- /dev/null +++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml @@ -0,0 +1,11 @@ + + + android.hardware.light + hwbinder + 2.0 + + ILight + default + + + diff --git a/manifest.xml b/manifest.xml index 00804321..f100fbcf 100755 --- a/manifest.xml +++ b/manifest.xml @@ -151,15 +151,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @3.0::IMapper/default @4.0::IMapper/default - - android.hardware.light - hwbinder - 2.0 - - ILight - default - - android.hardware.media.omx hwbinder