From c0d584d1601428806c63cd4426bcf4226849e6b2 Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Thu, 23 Dec 2010 05:39:41 +0100 Subject: stk: Send the AlphaId's to agent Terminate session if return signature doesn't match but allow agent to return from the call if it does match. --- src/stk.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/stk.c') diff --git a/src/stk.c b/src/stk.c index 87208d17..9dcbda64 100644 --- a/src/stk.c +++ b/src/stk.c @@ -472,12 +472,17 @@ static void stk_alpha_id_set(struct ofono_stk *stk, const char *text, const struct stk_text_attribute *attr, const struct stk_icon_id *icon) { - /* TODO */ + char *alpha = dbus_apply_text_attributes(text, attr); + + if (alpha || icon) + stk_agent_display_action_info(stk->current_agent, alpha, icon); + + g_free(alpha); } static void stk_alpha_id_unset(struct ofono_stk *stk) { - /* TODO */ + stk_agent_request_cancel(stk->current_agent); } static int duration_to_msecs(const struct stk_duration *duration) -- cgit v1.2.3