diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2010-12-23 05:39:41 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-12-23 18:30:45 -0600 |
commit | c0d584d1601428806c63cd4426bcf4226849e6b2 (patch) | |
tree | ff27c83f3df6758009d91bbb2e75bfb29ddf246f /src/stk.c | |
parent | 369fe6b146175b899a18b62928b74af055d603aa (diff) | |
download | ofono-c0d584d1601428806c63cd4426bcf4226849e6b2.tar.bz2 |
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.
Diffstat (limited to 'src/stk.c')
-rw-r--r-- | src/stk.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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) |