summaryrefslogtreecommitdiffstats
path: root/src/stk.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-11-24 01:13:36 -0600
committerDenis Kenzior <denkenz@gmail.com>2012-11-28 10:31:14 -0600
commit5afd6e1f5d71a4471d09762194d9710c2b9a7f51 (patch)
tree785817af1d3065b8793d58765745bc5a79f79838 /src/stk.c
parent3e643813538bdb9b5f3b1bc983f4e5daf3029d0f (diff)
downloadofono-5afd6e1f5d71a4471d09762194d9710c2b9a7f51.tar.bz2
stk: Handle icon self explanatory in play tone
Diffstat (limited to 'src/stk.c')
-rw-r--r--src/stk.c4
1 files changed, 4 insertions, 0 deletions
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,