diff --git a/fingerprint/Android.bp b/fingerprint/Android.bp index 71c97a2..3d85490 100644 --- a/fingerprint/Android.bp +++ b/fingerprint/Android.bp @@ -1,5 +1,5 @@ // -// Copyright (C) 2017-2020 The LineageOS Project +// Copyright (C) 2017-2021 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. @@ -18,6 +18,7 @@ cc_binary { relative_install_path: "hw", defaults: ["hidl_defaults"], init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm845.rc"], + vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm845.xml"], srcs: ["service.cpp", "BiometricsFingerprint.cpp"], shared_libs: [ "libbase", diff --git a/fingerprint/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm845.xml b/fingerprint/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm845.xml new file mode 100644 index 0000000..115dd7b --- /dev/null +++ b/fingerprint/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm845.xml @@ -0,0 +1,11 @@ + + + android.hardware.biometrics.fingerprint + hwbinder + 2.1 + + IBiometricsFingerprint + default + + + diff --git a/manifest.xml b/manifest.xml index 507e215..2d47f6c 100644 --- a/manifest.xml +++ b/manifest.xml @@ -44,15 +44,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. default - - android.hardware.biometrics.fingerprint - hwbinder - 2.1 - - IBiometricsFingerprint - default - - android.hardware.bluetooth hwbinder