From 9d2211ff4483f9266a5ebf1caf473b8a1dfbd069 Mon Sep 17 00:00:00 2001 From: Wei Ding Date: Tue, 12 Sep 2017 15:35:27 +0800 Subject: [PATCH] sdm660_64: add excluded xml for laser sensor Add excluded input devices xml as Google's definition to avoid improve touch performance issue. Change-Id: I83d8da9935f1dfdcb005fb064af25e393824d070 --- excluded-input-devices.xml | 30 ++++++++++++++++++++++++++++++ sdm660_64.mk | 3 +++ 2 files changed, 33 insertions(+) create mode 100644 excluded-input-devices.xml diff --git a/excluded-input-devices.xml b/excluded-input-devices.xml new file mode 100644 index 00000000..7cc394a1 --- /dev/null +++ b/excluded-input-devices.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdm660_64.mk b/sdm660_64.mk index 675ee83a..2718fdc8 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -138,6 +138,9 @@ PRODUCT_PACKAGES += android.hardware.media.omx@1.0-impl # Sensor HAL conf file PRODUCT_COPY_FILES += \ device/qcom/sdm660_64/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf +# Exclude TOF sensor from InputManager +PRODUCT_COPY_FILES += \ + device/qcom/sdm660_64/excluded-input-devices.xml:system/etc/excluded-input-devices.xml # WLAN host driver ifneq ($(WLAN_CHIPSET),)