summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Xu <pengxu@google.com>2017-08-25 17:20:59 -0700
committerPeng Xu <pengxu@google.com>2017-08-31 18:25:22 +0000
commite9a6ba3efb478abf251cb6baa0ead7a9de760884 (patch)
tree3e53363abddf316392fe78b53ca2ea8aae8350d8
parent5261578a58fcbf9bd7b752f5ba00324d41f1fbad (diff)
downloadbullhead-e9a6ba3efb478abf251cb6baa0ead7a9de760884.tar.gz
Enable sensor direct report for downsampling logic
Flags in sensor list is not activated so sensor direct report feature will not be activated for this device. Bug: 64841879 Test: CTS testAccelerometer_*Hz pass Change-Id: I580b55585f4ec68ce0dbb088863ae36fc68c0a8f
-rw-r--r--device.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 2609180..19292da 100644
--- a/device.mk
+++ b/device.mk
@@ -294,6 +294,7 @@ PRODUCT_PACKAGES += \
TARGET_USES_NANOHUB_SENSORHAL := true
NANOHUB_SENSORHAL_LID_STATE_ENABLED := true
NANOHUB_SENSORHAL_SENSORLIST := $(LOCAL_PATH)/sensorhal/sensorlist.cpp
+NANOHUB_SENSORHAL_DIRECT_REPORT_ENABLED := true
PRODUCT_PACKAGES += \
sensors.bullhead \