From: Lukas0610 Date: Sun, 28 Jan 2018 14:51:07 +0000 (+0100) Subject: j7elte: Define permissions for OEM-sensors X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37acd0f549800cdaa61ce2e62d625a90104ea5c4;p=GitHub%2FLineageOS%2Fandroid_device_samsung_j7elte.git j7elte: 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 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