From: Lukas0610 Date: Sun, 28 Jan 2018 14:51:07 +0000 (+0100) Subject: a7xelte: define permissions for OEM-sensors X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e34c559ad3ae5ec5bc97548e7ee943585baf0cf1;p=GitHub%2FLineageOS%2Fandroid_device_samsung_a7xelte.git a7xelte: define permissions for OEM-sensors Change-Id: I0647846dce7e99a1aef6347679a91fd3014ed074 --- diff --git a/configs/permissions/com.samsung.permission.HRM_EXT.xml b/configs/permissions/com.samsung.permission.HRM_EXT.xml new file mode 100644 index 0000000..460c4d1 --- /dev/null +++ b/configs/permissions/com.samsung.permission.HRM_EXT.xml @@ -0,0 +1,16 @@ + + + + + + diff --git a/configs/permissions/com.samsung.permission.SSENSOR.xml b/configs/permissions/com.samsung.permission.SSENSOR.xml new file mode 100644 index 0000000..b8b695e --- /dev/null +++ b/configs/permissions/com.samsung.permission.SSENSOR.xml @@ -0,0 +1,16 @@ + + + + + + diff --git a/device.mk b/device.mk index 61c516d..ee58e40 100644 --- a/device.mk +++ b/device.mk @@ -91,7 +91,9 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:system/etc/permissions/android.hardware.sensor.stepdetector.xml \ frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \ - frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml + frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \ + $(LOCAL_PATH)/configs/permissions/com.samsung.permission.HRM_EXT.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.samsung.permission.HRM_EXT.xml \ + $(LOCAL_PATH)/configs/permissions/com.samsung.permission.SSENSOR.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.samsung.permission.SSENSOR.xml # Ramdisk PRODUCT_PACKAGES += \