From f5b791f79c5cedb4a451f6ffc11518cd5d34388d Mon Sep 17 00:00:00 2001 From: Lukas0610 Date: Sun, 28 Jan 2018 15:51:07 +0100 Subject: [PATCH] s5neolte: define permissions for OEM-sensors Change-Id: I0647846dce7e99a1aef6347679a91fd3014ed074 --- .../com.samsung.permission.HRM_EXT.xml | 16 ++++++++++++++++ .../com.samsung.permission.SSENSOR.xml | 16 ++++++++++++++++ device.mk | 4 +++- 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 configs/permissions/com.samsung.permission.HRM_EXT.xml create mode 100644 configs/permissions/com.samsung.permission.SSENSOR.xml 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 7164b19..2df8679 100644 --- a/device.mk +++ b/device.mk @@ -88,7 +88,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 += \ -- 2.20.1