summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-10-19 23:54:38 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-10-19 23:54:38 +0000
commit91662a50ae05ff0da95977b85c541b1a24b7cbad (patch)
tree243e177a12e416446ad6b6367690114666c1a6d5
parent2b6a1b6c64bc5f713c3ed112bfd56b50dab75e66 (diff)
parentbc7edf802e8ecf4edbd982a5a1afcb5c1f711d95 (diff)
downloadcar-android11-mainline-release.tar.gz
Change-Id: I451b52d80a29ec91ee48c0abfd2966c7c558a1d6
-rw-r--r--common/car.mk7
-rw-r--r--common/config.ini16
2 files changed, 10 insertions, 13 deletions
diff --git a/common/car.mk b/common/car.mk
index b5993b3..e9f1778 100644
--- a/common/car.mk
+++ b/common/car.mk
@@ -63,14 +63,7 @@ PRODUCT_COPY_FILES += \
# Sensor features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
- frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
- frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
- frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
- frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
- frameworks/native/data/etc/android.hardware.sensor.ambient_temperature.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.ambient_temperature.xml \
- 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.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hinge_angle.xml \
# Copy APN configs
PRODUCT_COPY_FILES += \
diff --git a/common/config.ini b/common/config.ini
index 05ef85d..4b6f766 100644
--- a/common/config.ini
+++ b/common/config.ini
@@ -8,9 +8,13 @@ skin.dynamic=yes
skin.name=1080x600
skin.path=1080x600
disk.dataPartition.size=6G
-hw.sensor.hinge=yes
-hw.sensor.hinge.count=2
-Hw.sensor.hinge.type=0
-hw.sensor.hinge.ranges=0-360, 0-180
-hw.sensor.hinge.defaults=180, 180
-
+hw.accelerometer=yes
+hw.gyroscope=yes
+hw.sensors.light=no
+hw.sensors.pressure=no
+hw.sensors.humidity=no
+hw.sensors.proximity=no
+hw.sensors.magnetic_field=no
+hw.sensors.orientation=no
+hw.sensors.temperature=no
+hw.sensor.hinge=no