Fix build caused by "bool connect"

Change-Id: Ibc0bc984aebff6ae512c11bfe3cb1d1a18845a78
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h
index 3c349de..e59847e 100644
--- a/include/hardware/sensors.h
+++ b/include/hardware/sensors.h
@@ -884,8 +884,8 @@
  * details.
  */
 typedef struct dynamic_sensor_meta_event {
-    bool  connected;
-    int   handle;
+    int32_t  connected;
+    int32_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;