Snap for 8638406 from 23c988ff52 to udc-release

Change-Id: Id726de819f2f8430efd3e37baf2ed1d567ba0442
This commit is contained in:
Android Build Coastguard Worker 2022-05-25 03:03:59 +00:00
commit 78e9af9d59
4 changed files with 27 additions and 0 deletions

2
NVTCapacitivePen.idc Normal file
View file

@ -0,0 +1,2 @@
touch.orientationAware = 1
touch.orientation = ORIENTATION_270

View file

@ -0,0 +1 @@
touch.orientation = ORIENTATION_270

View file

@ -37,6 +37,25 @@ on property:vendor.mfgapi.touchpanel.permission=1
chmod 0600 /sys/devices/virtual/sec/tsp/cmd chmod 0600 /sys/devices/virtual/sec/tsp/cmd
chown system system /sys/devices/virtual/sec/tsp/cmd chown system system /sys/devices/virtual/sec/tsp/cmd
# Touch
on property:vendor.device.modules.ready=1
chown system system /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/force_touch_active
chown system system /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_dttw_mode
chown system system /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_fw_history
chown system system /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_high_sensi_mode
on property:vendor.all.modules.ready=1 && property:persist.sys.tap_gesture=
write /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_dttw_mode 1
write /sys/devices/platform/exynos-drm/primary-panel/force_power_on 1
on property:vendor.all.modules.ready=1 && property:persist.sys.tap_gesture=1
write /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_dttw_mode 1
write /sys/devices/platform/exynos-drm/primary-panel/force_power_on 1
on property:vendor.all.modules.ready=1 && property:persist.sys.tap_gesture=0
write /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_dttw_mode 0
write /sys/devices/platform/exynos-drm/primary-panel/force_power_on 0
# Fingerprint # Fingerprint
on post-fs-data on post-fs-data
chown system system /dev/goodix_fp chown system system /dev/goodix_fp

View file

@ -33,6 +33,11 @@ DEVICE_PACKAGE_OVERLAYS += device/google/tangorpro/tangorpro/overlay
PRODUCT_SOONG_NAMESPACES += device/google/tangorpro PRODUCT_SOONG_NAMESPACES += device/google/tangorpro
PRODUCT_PACKAGES += WifiOverlayT6pro PRODUCT_PACKAGES += WifiOverlayT6pro
# Touch files
PRODUCT_COPY_FILES += \
device/google/tangorpro/NVTCapacitiveTouchScreen.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/NVTCapacitiveTouchScreen.idc \
device/google/tangorpro/NVTCapacitivePen.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/NVTCapacitivePen.idc
# Init files # Init files
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/tangorpro/conf/init.tangorpro.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.tangorpro.rc device/google/tangorpro/conf/init.tangorpro.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.tangorpro.rc