mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: Enable UDFPS on boot
- Also select out HAS_GESTURES if UDFPS Change-Id: I6375c5de54d61a5e274ef1806d0a5ce16cdd5dba
This commit is contained in:
parent
59c21c4320
commit
eef1ead4a2
4 changed files with 17 additions and 1 deletions
|
|
@ -59,8 +59,10 @@ TARGET_USERIMAGES_USE_EXT4 := true
|
|||
TARGET_USERIMAGES_USE_F2FS := true
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
|
||||
# Fingerprint
|
||||
# Fingerprint
|
||||
ifneq ($(TARGET_HAS_UDFPS),true)
|
||||
TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
|
||||
endif
|
||||
|
||||
# Init
|
||||
TARGET_INIT_VENDOR_LIB := //$(COMMON_PATH):libinit_universal7885
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
2
universal7885-common/rootdir/etc/init.udfps.rc
Normal file
2
universal7885-common/rootdir/etc/init.udfps.rc
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
on init
|
||||
write /sys/class/sec/tsp/cmd "fod_enable,1"
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue