sdm660_64: Move disabled sensors properties to vendor partition

Move disabled sensors system properties to vendor partition.

Change-Id: I9cc3d36d301172dede71241cf4f11189461acbc1
This commit is contained in:
Shaikh Shadul 2017-11-15 15:39:25 +05:30
parent 00a3282458
commit a903d4bc56
2 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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
sdm.debug.disable_skip_validate=1