summaryrefslogtreecommitdiffstats
path: root/src/stk.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-11-24 01:13:22 -0600
committerDenis Kenzior <denkenz@gmail.com>2012-11-28 10:31:14 -0600
commit3e643813538bdb9b5f3b1bc983f4e5daf3029d0f (patch)
treeaa26f5b603071311569029700b8724cf74d181aa /src/stk.c
parentff6d81a67bd81d1b6ab8b8b151d295277e156bed (diff)
downloadofono-3e643813538bdb9b5f3b1bc983f4e5daf3029d0f.tar.bz2
stk: Handle icon self explanatory in get input
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 51e88a69..89f5df1f 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -1680,6 +1680,10 @@ static gboolean handle_command_get_input(const struct stk_command *cmd,
return TRUE;
}
+ if (gi->icon_id.id != 0 && gi->icon_id.qualifier ==
+ STK_ICON_QUALIFIER_TYPE_SELF_EXPLANATORY)
+ text[0]='\0';
+
if (alphabet)
err = stk_agent_request_input(stk->current_agent, text,
&gi->icon_id, gi->default_text,