klte-common: Split out fingerprint support
* kltesprsports doesn't have a fingerprint scanner, so variants supporting one can include fingerprint/board.mk in BoardConfig.mk, and fingerprint/product.mk in device.mk to avoid polluting the kltesprsports build with fingerprint-related items. Change-Id: I2fb1652d771740d05c3ec083054960fbe326bea4
This commit is contained in:
parent
86e804dce2
commit
f999621c0c
5 changed files with 20 additions and 15 deletions
2
fingerprint/board.mk
Normal file
2
fingerprint/board.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Fingerprint
|
||||
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/fingerprint/manifest.xml
|
11
fingerprint/manifest.xml
Normal file
11
fingerprint/manifest.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.biometrics.fingerprint</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.1</version>
|
||||
<interface>
|
||||
<name>IBiometricsFingerprint</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
7
fingerprint/product.mk
Normal file
7
fingerprint/product.mk
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Fingerprint
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.biometrics.fingerprint@2.1-service \
|
||||
fingerprint.msm8974
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml
|
6
klte.mk
6
klte.mk
|
@ -62,11 +62,6 @@ PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
|||
PRODUCT_PACKAGES += \
|
||||
SamsungDoze
|
||||
|
||||
# Fingerprint
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.biometrics.fingerprint@2.1-service \
|
||||
fingerprint.msm8974
|
||||
|
||||
# FlipFlap
|
||||
PRODUCT_PACKAGES += \
|
||||
FlipFlap
|
||||
|
@ -123,7 +118,6 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
|
||||
frameworks/native/data/etc/android.hardware.consumerir.xml:system/etc/permissions/android.hardware.consumerir.xml \
|
||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml \
|
||||
frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
|
||||
frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \
|
||||
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml \
|
||||
|
|
|
@ -17,15 +17,6 @@
|
|||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.biometrics.fingerprint</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.1</version>
|
||||
<interface>
|
||||
<name>IBiometricsFingerprint</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.bluetooth</name>
|
||||
<transport arch="32">passthrough</transport>
|
||||
|
|
Loading…
Reference in a new issue