bangkk: Import odm sku permissions

Change-Id: Ie305f3dd4be1a0409db1efdcacbbc004adc1eb82
This commit is contained in:
Michael Bestas 2023-04-24 22:16:28 +03:00
parent 7d909beba3
commit dc94049607
No known key found for this signature in database
6 changed files with 46 additions and 0 deletions

View file

@ -56,9 +56,34 @@ PRODUCT_PACKAGES += \
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
DEVICE_SKUS := b d f
PRODUCT_COPY_FILES += \
$(foreach DEVICE_SKU, $(DEVICE_SKUS), \
$(LOCAL_PATH)/permissions/unavail.android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.nfc.hce.xml \
$(LOCAL_PATH)/permissions/unavail.android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.nfc.hcef.xml \
$(LOCAL_PATH)/permissions/unavail.android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.nfc.uicc.xml \
$(LOCAL_PATH)/permissions/unavail.android.hardware.nfc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.nfc.xml \
$(LOCAL_PATH)/permissions/unavail.android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.se.omapi.ese.xml)
ESE_DEVICE_SKUS := de
PRODUCT_COPY_FILES += \
$(foreach DEVICE_SKU, $(ESE_DEVICE_SKUS), \
frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(ESE_DEVICE_SKU)/android.hardware.se.omapi.ese.xml)
NFC_DEVICE_SKUS := dn n
PRODUCT_COPY_FILES += \
$(foreach DEVICE_SKU, $(NFC_DEVICE_SKUS), \
$(LOCAL_PATH)/permissions/unavail.android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.se.omapi.ese.xml)
# Sensors
PRODUCT_PACKAGES += \
sensors.bangkk

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<unavailable-feature name="android.hardware.nfc.hce"/>
</permissions>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<unavailable-feature name="android.hardware.nfc.hcef"/>
</permissions>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<unavailable-feature name="android.hardware.nfc.uicc"/>
</permissions>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<unavailable-feature name="android.hardware.nfc"/>
<unavailable-feature name="android.hardware.nfc.any"/>
</permissions>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<unavailable-feature name="android.hardware.se.omapi.ese"/>
</permissions>