From 5afd6e1f5d71a4471d09762194d9710c2b9a7f51 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 24 Nov 2012 01:13:36 -0600 Subject: [PATCH] stk: Handle icon self explanatory in play tone --- src/stk.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stk.c b/src/stk.c index 89f5df1f..65884c76 100644 --- a/src/stk.c +++ b/src/stk.c @@ -2577,6 +2577,10 @@ static gboolean handle_command_play_tone(const struct stk_command *cmd, else timeout = manufacturer_timeout; + if (pt->icon_id.id != 0 && pt->icon_id.qualifier == + STK_ICON_QUALIFIER_TYPE_SELF_EXPLANATORY) + text[0]='\0'; + /* * According to TS 102.223 section 6.6.6: * "the length of time for which the Terminal shall generate the tone,