build: Add quick tap permissions and flag

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
ShevT 2022-03-15 10:54:14 +03:00 committed by Pranav Vashi
parent 27172c0953
commit c54e4c2cb5
2 changed files with 14 additions and 0 deletions

View File

@ -225,5 +225,11 @@ include vendor/lineage/config/version.mk
-include vendor/lineage-priv/keys/keys.mk
# Quick Tap
ifeq ($(TARGET_SUPPORTS_QUICK_TAP),true)
PRODUCT_COPY_FILES += \
vendor/lineage/prebuilt/common/etc/sysconfig/quick_tap.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/quick_tap.xml
endif
-include $(WORKSPACE)/build_env/image-auto-bits.mk
-include vendor/lineage/config/partner_gms.mk

View File

@ -0,0 +1,8 @@
<?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>