Commit Graph

13 Commits

Author SHA1 Message Date
Bruno Martins
6584d7b5b8 sdm845-common: fingerprint: Include VINTF fragment
Change-Id: I48ce57982e818ce06b4c57b5df700d8a4acf4284
2021-01-02 22:13:15 +01:00
Steven Moreland
cb7820057f sdm845-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I640a3f0e0839214523627bf0b59fd5ae9dd2c61c
2020-10-09 15:32:18 +01:00
Pig
be2e5896a3 sdm845-common: fingerprint: Add Xiaomi fingerprintextension support
Co-authored-by: C457 <android.c357@gmail.com>
Change-Id: Ie9deb0dfcc689034cd3c4b9095e319130ba8d8cd
2020-05-25 21:19:34 +01:00
Bruno Martins
5673a03633 sdm845-common: fingerprint: Allow loading FOD modules
As seen in the vendor image dumps, equuleus ships with goodix_fod
and ursa with goodix_fod or synaptics.

Change-Id: I2ccef59698a570dcb35c331dd7994fb7f7af68f0
2020-05-25 21:19:34 +01:00
LuK1337
c036c4f8eb sdm845-common: fingerprint: Don't set ro.boot.fpsensor
* It's useless.

Change-Id: I29357c1fbbd7752f3631d9b7f1ce63b61bb41cd0
2020-05-21 22:26:56 +01:00
LuK1337
dc1dc760b9 sdm845-common: Make fingerprint HIDL fully treble compliant
This is more like a hack, also observed in the stock HAL, for pre-P shipped devices
because those have fpdata store path set to /data/system/users/ by the FingerprintService.

Force treble compliant path and thus avoid using data_between_core_and_vendor_violators
attribute:

 > typeattribute hal_fingerprint_default data_between_core_and_vendor_violators;
 > # access to /data/system/users/[0-9]+/fpdata
 > allow hal_fingerprint_default fingerprintd_data_file:dir rw_dir_perms;
 > allow hal_fingerprint_default fingerprintd_data_file:file create_file_perms;

Change-Id: I388f993de7f95fc68007d945f5a9cc975afde120
2020-05-20 08:39:28 +01:00
Demon Singur
f1cfbb82e7 sdm845-common: Import fingerprint HIDL
Change-Id: I733eea70dc637fa61c2e3a8036100de7febd71a9
2020-05-20 08:29:03 +01:00
Andrew LeCain
a3070811d8 sdm845-common: Adding uhid permissions to default fingerprint rc
Test: Sailfish has fingerprint present
Bug: 120112580

Change-Id: I11c3bf02ddb2102a6d326a35e360e067812b0b75
(cherry picked from commit c812b022ed50c69f3742413b597c6e7321da52aa)
2019-09-11 12:25:35 +01:00
Bruno Martins
438104a656 sdm845-common: Switch to vendor variants of the custom HALs
Change-Id: I599ef8b3d143641821b6e42ec41050aedd3f2b37
2019-08-01 00:28:53 +01:00
Bruno Martins
bcfa2f4d6d sdm845-common: Pick select OEM changes to init scripts
* Only relevant changes were picked from MIUI 9.2.15 based scripts

Change-Id: I1b72c111171b7fb226e7c34a779c139707b1b841
2019-08-01 00:28:51 +01:00
Tim Murray
3eb083f45d sdm845-common: Keep fpc in system-background
The fingerprint HAL is insensitive to increased CPU throughput, but it also
has a tendency to spin while waiting for FP hardware. Limit FPC to the
system-background cpuset in order to avoid increased power consumption
when accidentally touching the fingerprint sensor.

bug 76115243
Test: fingerprint in system-background cpuset on taimen

Change-Id: Iaffe6f63bd76b7a1c4acaf0cae980840af515961
2019-03-25 22:19:38 +00:00
Bruno Martins
57e1d4ef12 sdm845-common: Add PocketMode app
* Based off android_device_xiaomi_msm8996-common

Change-Id: I48302769d6f1fcc5244614f672e562e0fb913d98
2019-03-25 21:54:29 +00:00
Bruno Martins
07797f9813 sdm845-common: Override stock fingerprint service init script
* This will be handy for further needed custom edits and also to avoid
   build warnings once vendor images are getting built.

Change-Id: Ie5ea81c4f1de28848dd081f5d2638d56fbd8dff3
2019-03-19 12:28:31 +00:00