sm7250-common: Switch to udfps

This commit is contained in:
TheScarastic
2021-10-18 17:38:40 +02:00
committed by Akshay Kakatkar
parent c2b95ec33d
commit b7ee7e9a4e
7 changed files with 14 additions and 14 deletions

View File

@@ -125,9 +125,7 @@ TARGET_ENABLE_MEDIADRM_64 := true
TARGET_FS_CONFIG_GEN := $(COMMON_PATH)/config.fs
# Fingerprint
SOONG_CONFIG_NAMESPACES += ONEPLUS_FOD
SOONG_CONFIG_ONEPLUS_FOD := POS_X POS_Y SIZE
TARGET_SURFACEFLINGER_FOD_LIB := //hardware/oneplus:libfod_extension.oneplus
TARGET_SURFACEFLINGER_UDFPS_LIB := //hardware/oneplus:libudfps_extension.oneplus
# HIDL
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \

View File

@@ -267,8 +267,8 @@ PRODUCT_PACKAGES += \
# Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service.oneplus \
vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.oneplus
android.hardware.biometrics.fingerprint@2.3-service.oneplus \
vendor.goodix.hardware.biometrics.fingerprint@2.1.vendor
# GPS
PRODUCT_COPY_FILES += \

View File

@@ -53,9 +53,6 @@
<!-- Whether device has screen with higher aspect ratio -->
<bool name="config_haveHigherAspectRatioScreen">true</bool>
<!-- Shows the required view for in-display fingerprint -->
<bool name="config_supportsInDisplayFingerprint">true</bool>
<!-- Path to fast charging status file to detect whether an oem fast charger is active -->
<string name="config_oemFastChargerStatusPath" translatable="false">/sys/class/power_supply/battery/fastchg_status</string>

View File

@@ -18,4 +18,11 @@
<!-- Allow devices override audio panel location to the left side -->
<bool name="config_audioPanelOnLeftSide">true</bool>
<!-- HBM type of UDFPS overlay.
0 - GLOBAL HBM
1 - LOCAL HBM
-->
<integer name="config_udfps_hbm_type">0</integer>
</resources>

View File

@@ -343,4 +343,7 @@
<item>9</item> <!-- COLOR_MODE_DISPLAY_P3 -->
</integer-array>
<!-- How long it takes for the HW to start illuminating after the illumination is requested. -->
<integer name="config_udfps_illumination_transition_ms">0</integer>
</resources>

View File

@@ -47,8 +47,7 @@
/dev/stmvl53l1_ranging u:object_r:vl53l1_device:s0
# HALs
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.oneplus u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.biometrics\.fingerprint\.inscreen@1\.0-service\.oneplus u:object_r:hal_lineage_fod_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.3-service\.oneplus u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.2-service u:object_r:hal_secure_element_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.oneplus u:object_r:hal_lineage_touch_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.oneplus\.hardware\.camera@1\.0-service u:object_r:hal_cameraHIDL_default_exec:s0

View File

@@ -1,4 +0,0 @@
hal_client_domain(hal_lineage_fod_default, hal_display)
hal_client_domain(hal_lineage_fod_default, hal_fingerprint)
allow hal_lineage_fod_default sysfs_fod:file rw_file_perms;