Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cf9521f authored by Michael Bestas's avatar Michael Bestas Committed by Sahil Sonar
Browse files

FP5: Set up double tap to wake

Change-Id: Ic21e6bbd22a77852f821d769933bee2ea7cdf69c
parent 41d831d2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -171,6 +171,9 @@ TARGET_PRODUCT_PROP += $(DEVICE_PATH)/product.prop
TARGET_SYSTEM_EXT_PROP += $(DEVICE_PATH)/system_ext.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop

# Power
TARGET_TAP_TO_WAKE_NODE := "/sys/devices/platform/goodix_ts.0/gesture/double_en"

# Recovery
BOARD_INCLUDE_RECOVERY_DTBO := true
BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT := true
+3 −0
Original line number Diff line number Diff line
@@ -184,6 +184,9 @@ on boot

    chown system system /dev/focaltech_fp
    chmod 0660 /dev/focaltech_fp
    # double tap
    chown system system /sys/devices/platform/goodix_ts.0/gesture/double_en
    chmod 0660 /sys/devices/platform/goodix_ts.0/gesture/double_en
    # charging enable
    chmod 0666 /sys/class/power_supply/battery/user_fcc
    # charge mode fcc
+3 −0
Original line number Diff line number Diff line
@@ -121,6 +121,9 @@
    <!-- Indicates whether device has a power button fingerprint sensor. -->
    <bool name="config_is_powerbutton_fps" translatable="false">true</bool>

    <!-- Whether device supports double tap to wake -->
    <bool name="config_supportDoubleTapWake">true</bool>

    <!-- An array of arrays of side fingerprint sensor properties relative to each display.
         Note: this value is temporary and is expected to be queried directly
         from the HAL in the future. -->
+1 −0
Original line number Diff line number Diff line
type fingerprint_data_file, file_type, data_file_type;
type persist_t2m_param_file, file_type, vendor_persist_type;
type vendor_sysfs_emkit, fs_type, sysfs_type;
type vendor_sysfs_touchpanel, fs_type, sysfs_type;
+3 −0
Original line number Diff line number Diff line
# Touchscreen
genfscon sysfs /devices/platform/goodix_ts.0                                                                                              u:object_r:vendor_sysfs_touchpanel:s0

# Vibrator
genfscon sysfs /devices/platform/soc/984000.i2c/i2c-0/0-005a/leds/vibrator_1                                                              u:object_r:sysfs_leds:s0

Loading