diff options
author | Abir Ghosh <abirg@codeaurora.org> | 2017-08-10 19:52:39 +0530 |
---|---|---|
committer | Abir Ghosh <abirg@codeaurora.org> | 2017-08-17 15:35:53 +0530 |
commit | 5562841b3c006a900f0d8147a722ad9b4409a811 (patch) | |
tree | 4d1fb2e6b3fd791d339c8e803967969a20afc1d8 | |
parent | f4ac481521c9161c9c1f72564de74284ae2a68ef (diff) |
sdm660_64: Add support for Fingerprint
Add support for starting Fingerprint Daemon.
Change-Id: I6635a2924b29e0e2a7027425e2a466da0eb5180e
-rw-r--r--[-rwxr-xr-x] | init.target.rc | 6 | ||||
-rw-r--r-- | manifest.xml | 19 | ||||
-rw-r--r-- | sdm660_64.mk | 4 |
3 files changed, 29 insertions, 0 deletions
diff --git a/init.target.rc b/init.target.rc index 40e03f3..5dab76d 100755..100644 --- a/init.target.rc +++ b/init.target.rc @@ -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 diff --git a/manifest.xml b/manifest.xml index 23d23a1..bba0679 100644 --- a/manifest.xml +++ b/manifest.xml @@ -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> diff --git a/sdm660_64.mk b/sdm660_64.mk index 14d12e4..e20fc3f 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -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 \ |