From 4f0ad57275a31242b81f09a11a7a36d67767b51f Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Thu, 24 Oct 2019 02:33:34 +0200 Subject: [PATCH] common: Bring back Android Beam * While this feature is deprecated all code for it is still alive ^.^ Change-Id: I36fac374e43ceddab1438255654bb541937041ff --- config/common.mk | 4 ++++ .../permissions/android.software.nfc.beam.xml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 config/permissions/android.software.nfc.beam.xml diff --git a/config/common.mk b/config/common.mk index eda0f603..58398936 100644 --- a/config/common.mk +++ b/config/common.mk @@ -61,6 +61,10 @@ $(foreach f,$(wildcard vendor/lineage/prebuilt/common/etc/init/*.rc),\ PRODUCT_COPY_FILES += \ vendor/lineage/prebuilt/common/lib/content-types.properties:$(TARGET_COPY_OUT_SYSTEM)/lib/content-types.properties +# Enable Android Beam on all targets +PRODUCT_COPY_FILES += \ + vendor/lineage/config/permissions/android.software.nfc.beam.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.nfc.beam.xml + # Enable SIP+VoIP on all targets PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.sip.voip.xml diff --git a/config/permissions/android.software.nfc.beam.xml b/config/permissions/android.software.nfc.beam.xml new file mode 100644 index 00000000..c88f8b55 --- /dev/null +++ b/config/permissions/android.software.nfc.beam.xml @@ -0,0 +1,19 @@ + + + + + +