From 4d17d21d9a4465ef5a4078ab2ba12552cbde56e7 Mon Sep 17 00:00:00 2001 From: celtare21 Date: Sun, 25 Aug 2019 09:47:58 +0000 Subject: mata: Add excluded-input-devices from CAF Signed-off-by: celtare21 --- device.mk | 4 ++++ excluded-input-devices.xml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 excluded-input-devices.xml diff --git a/device.mk b/device.mk index 6de9e097..3d0785d3 100644 --- a/device.mk +++ b/device.mk @@ -152,6 +152,10 @@ PRODUCT_PACKAGES += \ android.hardware.drm@1.1-service.clearkey \ move_widevine_data.sh +# Exclude TOF sensor from InputManager +PRODUCT_COPY_FILES += \ + device/essential/mata/excluded-input-devices.xml:system/etc/excluded-input-devices.xml + # Fingerprint PRODUCT_PACKAGES += \ android.hardware.biometrics.fingerprint@2.1 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3