bangkk: Import odm sku permissions
Change-Id: Ie305f3dd4be1a0409db1efdcacbbc004adc1eb82
This commit is contained in:
parent
7d909beba3
commit
dc94049607
6 changed files with 46 additions and 0 deletions
25
device.mk
25
device.mk
|
|
@ -56,9 +56,34 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# Permissions
|
# Permissions
|
||||||
PRODUCT_COPY_FILES += \
|
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.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
|
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
|
# Sensors
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
sensors.bangkk
|
sensors.bangkk
|
||||||
|
|
|
||||||
4
permissions/unavail.android.hardware.nfc.hce.xml
Normal file
4
permissions/unavail.android.hardware.nfc.hce.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<permissions>
|
||||||
|
<unavailable-feature name="android.hardware.nfc.hce"/>
|
||||||
|
</permissions>
|
||||||
4
permissions/unavail.android.hardware.nfc.hcef.xml
Normal file
4
permissions/unavail.android.hardware.nfc.hcef.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<permissions>
|
||||||
|
<unavailable-feature name="android.hardware.nfc.hcef"/>
|
||||||
|
</permissions>
|
||||||
4
permissions/unavail.android.hardware.nfc.uicc.xml
Normal file
4
permissions/unavail.android.hardware.nfc.uicc.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<permissions>
|
||||||
|
<unavailable-feature name="android.hardware.nfc.uicc"/>
|
||||||
|
</permissions>
|
||||||
5
permissions/unavail.android.hardware.nfc.xml
Normal file
5
permissions/unavail.android.hardware.nfc.xml
Normal 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>
|
||||||
4
permissions/unavail.android.hardware.se.omapi.ese.xml
Normal file
4
permissions/unavail.android.hardware.se.omapi.ese.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<permissions>
|
||||||
|
<unavailable-feature name="android.hardware.se.omapi.ese"/>
|
||||||
|
</permissions>
|
||||||
Loading…
Reference in a new issue