From 37acd0f549800cdaa61ce2e62d625a90104ea5c4 Mon Sep 17 00:00:00 2001 From: Lukas0610 Date: Sun, 28 Jan 2018 15:51:07 +0100 Subject: [PATCH] j7elte: 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 9ee6429..d98c5db 100644 --- a/device.mk +++ b/device.mk @@ -58,7 +58,9 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ - frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml + frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.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 # Properties -include $(LOCAL_PATH)/system_prop.mk -- 2.20.1