diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index 3422eaf..cf3065e 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
Command parameters: Number of values (1 octet)
Value # (1 octet)
- Value # text (255 octets)
+ Value # text length (1 octet)
+ Value # text (variable)
...
In case of an error, the error response will be returned.
Command parameters: Number of elements (1 octet)
Element # (1 octet)
- Element # text (255 octets)
+ Element # text length (1 octet)
+ Element # text (variable)
...
In case of an error, the error response will be returned.
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 68fee03..5606a56 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
struct hal_avrcp_player_setting_text {
uint8_t id;
- uint8_t text[255];
+ uint8_t len;
+ uint8_t text[0];
} __attribute__((packed));
#define HAL_OP_AVRCP_GET_PLAYER_ATTRS_TEXT 0x05