Add TURN_SIGNAL_STATE to enum VehicleProperty
While we have defined values for turn signal state, we were missing
a property id to allow it to be reported by the vehicle.
Test: local build
Change-Id: Ib741c717f62df8edaa187413e9114411c55b0420
diff --git a/vehicle/2.0/types.hal b/vehicle/2.0/types.hal
index cb551c1..b19621c 100644
--- a/vehicle/2.0/types.hal
+++ b/vehicle/2.0/types.hal
@@ -296,6 +296,20 @@
| VehicleArea:GLOBAL),
/*
+ * State of the vehicles turn signals
+ *
+ * Values from VehicleTurnSignal
+ *
+ * @change_mode VehiclePropertyChangeMode:ON_CHANGE
+ * @access VehiclePropertyAccess:READ
+ */
+ TURN_SIGNAL_STATE = (
+ 0x0408
+ | VehiclePropertyGroup:SYSTEM
+ | VehiclePropertyType:INT32
+ | VehicleArea:GLOBAL),
+
+ /*
* Fan speed setting
*
* @change_mode VehiclePropertyChangeMode:ON_CHANGE
@@ -2420,8 +2434,9 @@
UNDEFINED = 0x0,
/*
- * Subscribe to event that was originated in vehicle HAL (most luckly this
- * event came from vehicle itself). */
+ * Subscribe to event that was originated in vehicle HAL
+ * (most likely this event came from the vehicle itself).
+ */
HAL_EVENT = 0x1,
/*
@@ -2457,9 +2472,7 @@
*/
float sampleRate;
- /*
- * Flags that indicates what kind of events listen to.
- */
+ /* Flags that indicate what kind of events listen to. */
SubscribeFlags flags;
};