From 7f92d9ac7ff7c9c1495bd2dd48c7bdfd635878a2 Mon Sep 17 00:00:00 2001 From: Super Liu Date: Thu, 2 Dec 2021 09:07:23 +0800 Subject: [PATCH 1/2] init.gs101.rc: add the sysfs permission for touch. Bug: 193467627 Test: manual test. Signed-off-by: Super Liu Change-Id: I90977f3dfcbd2c62955ec7b9807c10af23041a52 --- conf/init.gs101.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index 222b99e3..153d79cd 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -647,6 +647,7 @@ on property:vendor.device.modules.ready=1 chown system system /sys/devices/virtual/sec/tsp/cmd_result chown system system /sys/devices/virtual/sec/tsp/status chown system system /sys/devices/virtual/input/nvt_touch/force_touch_active + chown system system /sys/devices/virtual/input/nvt_touch/nvt_dttw_mode # Allow access to touch chown system input /dev/touch_offload chmod 660 /dev/touch_offload From e6bb2caf47254de66e2e46864e30e44c9cdac11e Mon Sep 17 00:00:00 2001 From: neoyu Date: Wed, 1 Dec 2021 20:46:59 +0800 Subject: [PATCH 2/2] Remove cdma feature because not all gs101 based devices support it Bug: 207398695 Test: inspect build artifacts - result is expected Change-Id: Ic8098e036d5e58ec1b1cd0fcd13ef64a4d12b668 --- device.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/device.mk b/device.mk index 33865d6a..3788b957 100644 --- a/device.mk +++ b/device.mk @@ -881,7 +881,6 @@ USE_RADIO_HAL_1_6 := true ifneq ($(BOARD_WITHOUT_RADIO),true) $(call inherit-product-if-exists, vendor/samsung_slsi/telephony/common/device-vendor.mk) -PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml endif ifeq (,$(filter %_64,$(TARGET_PRODUCT)))