From a903d4bc5645f017d5d476c09dd96a77d33be41f Mon Sep 17 00:00:00 2001 From: Shaikh Shadul Date: Wed, 15 Nov 2017 15:39:25 +0530 Subject: [PATCH] sdm660_64: Move disabled sensors properties to vendor partition Move disabled sensors system properties to vendor partition. Change-Id: I9cc3d36d301172dede71241cf4f11189461acbc1 --- sdm660_64.mk | 6 ++++++ system.prop | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sdm660_64.mk b/sdm660_64.mk index 81fbce3b..a20fd334 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -210,6 +210,12 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.sensor.relative_humidity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.relative_humidity.xml \ frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hifi_sensors.xml +#Facing, CMC and Gesture +PRODUCT_PROPERTY_OVERRIDES += \ + ro.vendor.sensors.facing=false \ + ro.vendor.sensors.cmc=false \ + ro.vendor.sdk.sensors.gestures=false + # High performance VR feature PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.vr.high_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vr.high_performance.xml diff --git a/system.prop b/system.prop index ae1e3e5f..af0bd80c 100644 --- a/system.prop +++ b/system.prop @@ -161,12 +161,6 @@ ro.vendor.sensors.pmd=true ro.vendor.sensors.sta_detect=true #Motion Detector ro.vendor.sensors.mot_detect=true -#Facing -ro.vendor.sensors.facing=false -#CMC -ro.vendor.sensors.cmc=false -#Gesture -ro.vendor.sdk.sensors.gestures=false #Expose aux camera for below packages camera.aux.packagelist=org.codeaurora.snapcam @@ -189,4 +183,4 @@ persist.backup.ntpServer="0.pool.ntp.org" persist.vendor.overlay.izat.optin=rro #Disable Skip Validate -sdm.debug.disable_skip_validate=1 \ No newline at end of file +sdm.debug.disable_skip_validate=1