OSDN Git Service

Fix DATA_INJECTION flag in sensors.h
authorAravind Akella <aakella@google.com>
Thu, 10 Sep 2015 22:00:51 +0000 (15:00 -0700)
committerAravind Akella <aakella@google.com>
Fri, 11 Sep 2015 18:34:17 +0000 (11:34 -0700)
Bug: 24001171
Change-Id: Ia42934a97566f0ebe8d324e065351a3d9ed55621

include/hardware/sensors.h

index b368ee6..51bffe1 100644 (file)
@@ -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  // 1 0000
 };
 
 /*