summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnanda Kishore <kananda@codeaurora.org>2015-08-21 16:18:26 +0530
committerSteve Kondik <steve@cyngn.com>2015-12-08 01:49:09 -0800
commite79d278402c4cd4b36ad27ae164ac8d10e899c76 (patch)
tree63b453e80e1de2a6fd6e30e88b656daad4afc929
parent3cbaf6f6e738ebd9c22b097cc3df68ad3a06e776 (diff)
downloadhardware_libhardware-e79d278402c4cd4b36ad27ae164ac8d10e899c76.zip
hardware_libhardware-e79d278402c4cd4b36ad27ae164ac8d10e899c76.tar.gz
hardware_libhardware-e79d278402c4cd4b36ad27ae164ac8d10e899c76.tar.bz2
Sensors: Set proper data injection flags
correct the value for data injection flags to be inalign with sensor service. Change-Id: Id3978e132cdec16909401f64f3f43892d720c9c0
-rw-r--r--include/hardware/sensors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h
index b368ee6..3f45fb9 100644
--- a/include/hardware/sensors.h
+++ b/include/hardware/sensors.h
@@ -147,7 +147,7 @@ enum {
* Counter sensors can be set with this flag and SensorService will inject accelerometer data
* and read the corresponding step counts.
*/
- SENSOR_FLAG_SUPPORTS_DATA_INJECTION = 0x8 // 1000
+ SENSOR_FLAG_SUPPORTS_DATA_INJECTION = 0x10 // 1000
};
/*