Loading BoardConfig.mk +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading init/init.target.rc +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading overlay/FrameworksResTarget/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -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. --> Loading sepolicy/vendor/file.te +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; sepolicy/vendor/genfs_contexts +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 Loading
BoardConfig.mk +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
init/init.target.rc +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
overlay/FrameworksResTarget/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -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. --> Loading
sepolicy/vendor/file.te +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;
sepolicy/vendor/genfs_contexts +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