summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Xu <pengxu@google.com>2017-08-25 17:25:15 -0700
committerPeng Xu <pengxu@google.com>2017-08-31 17:17:09 +0000
commit1be8f2ad66c1a4c9f8e113322b334284839ecf90 (patch)
treec63fe1477989217f6ce152e6a162fa15dee605ae
parent3ef210afac904fc3dd3ccb5e1d1014cbbb703e21 (diff)
downloadangler-1be8f2ad66c1a4c9f8e113322b334284839ecf90.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: Icc461a46640ce2d1bad80477d3e37e803bcc552b
-rw-r--r--device.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 360193a..67a7700 100644
--- a/device.mk
+++ b/device.mk
@@ -263,6 +263,7 @@ TARGET_USES_NANOHUB_SENSORHAL := true
NANOHUB_SENSORHAL_LID_STATE_ENABLED := true
NANOHUB_SENSORHAL_USB_MAG_BIAS_ENABLED := true
NANOHUB_SENSORHAL_SENSORLIST := $(LOCAL_PATH)/sensorhal/sensorlist.cpp
+NANOHUB_SENSORHAL_DIRECT_REPORT_ENABLED := true
PRODUCT_PACKAGES += \
sensors.angler \