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

Commit 20380ed1 authored by Antoine C.'s avatar Antoine C. Committed by Rohit Sekhar
Browse files

FP6: Add double tap to wake

Change-Id: Ia3d4009899ce52d8fb6cbd871400be8c0de9aefb
parent f0d429bc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -209,6 +209,9 @@ TARGET_COPY_OUT_VENDOR_DLKM := vendor_dlkm
BOARD_USES_QCOM_HARDWARE := true
TARGET_BOARD_PLATFORM := volcano

# Screen tap-to-wake
TARGET_TAP_TO_WAKE_NODE := /sys/bus/spi/devices/spi0.0/gesture_wakeup

# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop

+6 −0
Original line number Diff line number Diff line
@@ -165,6 +165,12 @@ on post-fs-data
    chown system system /sys/class/leds/aw_vibrator/activate_mode
    chown system system /sys/class/leds/aw_vibrator/gain

# add tap-to-wake
    wait /sys/devices/platform/soc/ac0000.qcom,qupv3_0_geni_se/a80000.spi/spi_master/spi0/spi0.0/gesture_wakeup 20
    chown system system /sys/devices/platform/soc/ac0000.qcom,qupv3_0_geni_se/a80000.spi/spi_master/spi0/spi0.0/gesture_wakeup
    chmod 0660 /sys/devices/platform/soc/ac0000.qcom,qupv3_0_geni_se/a80000.spi/spi_master/spi0/spi0.0/gesture_wakeup
# add tap-to-wake


on early-boot
    verity_update_state
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@
         on the headphone/microphone jack. When false use the older uevent framework. -->
    <bool name="config_useDevInputEventForAudioJack">true</bool>

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

    <!-- Default files to pin via Pinner Service -->
    <string-array name="config_defaultPinnerServiceFiles" translatable="false">
        <item>/system/framework/arm64/boot-QPerformance.oat</item>