OSDN Git Service

android: Define minimum legal notification event ID
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 22 Oct 2013 12:46:11 +0000 (14:46 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 22 Oct 2013 13:17:26 +0000 (16:17 +0300)
All legal events IDs should be above this value.

android/hal-msg.h

index 33acd41..9ff0510 100644 (file)
@@ -32,6 +32,8 @@ struct hal_msg_hdr {
        uint8_t payload[0];
 } __attribute__((packed));
 
+#define HAL_MSG_MINIMUM_EVENT          0x81
+
 #define HAL_SERVICE_ID_CORE            0
 #define HAL_SERVICE_ID_BLUETOOTH       1
 #define HAL_SERVICE_ID_SOCK            2