sdm660_64: Add support for Fingerprint

Add support for starting Fingerprint Daemon.

Change-Id: I6635a2924b29e0e2a7027425e2a466da0eb5180e
This commit is contained in:
Abir Ghosh 2017-08-10 19:52:39 +05:30
parent f4ac481521
commit 5562841b3c
3 changed files with 29 additions and 0 deletions

6
init.target.rc Executable file → Normal file
View file

@ -71,6 +71,7 @@ on post-fs-data
mkdir /data/tombstones/wcnss 0771 system system
mkdir /data/tombstones/dsps 0771 system system
mkdir /data/vendor/hbtp 0750 system system
mkdir /persist/qti_fp 0700 system system
mkdir /data/misc/seemp 0700 system system
mkdir /data/misc/tloc 0700 system drmrpc
@ -425,6 +426,11 @@ user system
group system sdcard_rw
socket seempdw dgram 0666 system system
service qfp-daemon /vendor/bin/qfp-daemon
class late_start
user system
group system drmrpc diag input
service tlocd /system/bin/tloc_daemon
class late_start
user system

View file

@ -165,6 +165,25 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>legacy/0</instance>
</interface>
</hal>
<!-- fingerprint hal: using remote service instead of Google's default service-->
<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>vendor.qti.hardware.fingerprint</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IQtiExtendedFingerprint</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.bluetooth</name>
<transport>hwbinder</transport>

View file

@ -145,6 +145,10 @@ PRODUCT_PACKAGES += \
wpa_supplicant_overlay.conf \
p2p_supplicant_overlay.conf
# Fingerprint feature
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
#ANT+ stack
PRODUCT_PACKAGES += \
AntHalService \