OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e641ba9
)
Fix build caused by "bool connect"
author
Peng Xu
<pengxu@google.com>
Thu, 28 Jan 2016 02:26:10 +0000
(18:26 -0800)
committer
Peng Xu
<pengxu@google.com>
Thu, 28 Jan 2016 02:26:10 +0000
(18:26 -0800)
Change-Id: Ibc0bc984aebff6ae512c11bfe3cb1d1a18845a78
include/hardware/sensors.h
patch
|
blob
|
history
diff --git
a/include/hardware/sensors.h
b/include/hardware/sensors.h
index
3c349de
..
e59847e
100644
(file)
--- a/
include/hardware/sensors.h
+++ b/
include/hardware/sensors.h
@@
-884,8
+884,8
@@
typedef struct meta_data_event {
* details.
*/
typedef struct dynamic_sensor_meta_event {
-
bool
connected;
- int
handle;
+
int32_t
connected;
+ int
32_t
handle;
const struct sensor_t * sensor; // should be NULL if connected == false
uint8_t uuid[16]; // UUID of a dynamic sensor (use platform endianess).
} dynamic_sensor_meta_event_t;