universal7885: Enable UDFPS on boot

- Also select out HAS_GESTURES if UDFPS

Change-Id: I6375c5de54d61a5e274ef1806d0a5ce16cdd5dba
This commit is contained in:
Tim Zimmermann 2021-10-14 17:53:47 +02:00 committed by roynatech2544
commit eef1ead4a2
No known key found for this signature in database
GPG key ID: 389DAC92CAECBBCC
4 changed files with 17 additions and 1 deletions

View file

@ -60,7 +60,9 @@ TARGET_USERIMAGES_USE_F2FS := true
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
# Fingerprint
ifneq ($(TARGET_HAS_UDFPS),true)
TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
endif
# Init
TARGET_INIT_VENDOR_LIB := //$(COMMON_PATH):libinit_universal7885

View file

@ -64,3 +64,10 @@ prebuilt_etc {
sub_dir: "init",
vendor: true,
}
prebuilt_etc {
name: "init.udfps.rc",
src: "etc/init.udfps.rc",
sub_dir: "init",
vendor: true,
}

View file

@ -0,0 +1,2 @@
on init
write /sys/class/sec/tsp/cmd "fod_enable,1"

View file

@ -176,6 +176,11 @@ PRODUCT_PACKAGES += \
init.target.rc \
init.baseband.rc
ifeq ($(TARGET_HAS_UDFPS),true)
PRODUCT_PACKAGES += \
init.udfps.rc
endif
# Lights
PRODUCT_PACKAGES += \
android.hardware.light-service.samsung