a20: add quick tap

This commit is contained in:
Ivy 2025-03-12 20:45:44 -02:30 committed by Chara
commit 8403f14f11
2 changed files with 17 additions and 0 deletions

9
conf/quick_tap.xml Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on devices that support Quick
Tap -->
<config>
<!-- This feature is meant to be the feature identifying devices that support
Quick Tap -->
<feature name="com.google.android.feature.QUICK_TAP" />
</config>

View file

@ -27,6 +27,14 @@ PRODUCT_COPY_FILES += \
# Overlay
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# Quick Tap
PRODUCT_COPY_FILES += \
device/oneplus/guacamoleb/conf/quick_tap.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/quick_tap.xml
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.columbus.use_ap_sensor=false
PRODUCT_PACKAGES += \
android.hardware.sensors@1.0-service
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)