From: Philippe Nunes <philippe.nunes@linux.intel.com>
To: ofono@ofono.org
Subject: [PATCH 4/4] stk: AID shall not be displayed in case of self explanatory icon
Date: Wed, 05 Sep 2012 19:19:39 +0200 [thread overview]
Message-ID: <1346865579-24794-5-git-send-email-philippe.nunes@linux.intel.com> (raw)
In-Reply-To: <1346865579-24794-1-git-send-email-philippe.nunes@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 630 bytes --]
---
src/stk.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/stk.c b/src/stk.c
index 5c79183..e242bf5 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -539,6 +539,11 @@ static gboolean stk_alpha_id_set(struct ofono_stk *stk,
if (stk->current_agent == NULL)
return FALSE;
+ /* AID shall not be displayed in case of self explanatory icon */
+ if (icon->id != 0 && icon->qualifier ==
+ STK_ICON_QUALIFIER_TYPE_SELF_EXPLANATORY)
+ alpha[0]='\0';
+
if (stk->respond_on_exit)
stk_agent_display_action(stk->current_agent, alpha, icon,
user_termination_cb, stk, NULL);
--
1.7.9.5
next prev parent reply other threads:[~2012-09-05 17:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-05 17:19 [PATCH 0/4] DTMF in dialing number Philippe Nunes
2012-09-05 17:19 ` [PATCH 1/4] stk: convert to phone number format Philippe Nunes
2012-09-05 17:19 ` [PATCH 2/4] common: Accept pause character in the dialing number Philippe Nunes
2012-09-05 19:25 ` Denis Kenzior
2012-09-05 17:19 ` [PATCH 3/4] voicecall: Accept long phone number format for STK Philippe Nunes
2012-09-05 19:26 ` Denis Kenzior
2012-09-05 17:19 ` Philippe Nunes [this message]
2012-09-05 19:29 ` [PATCH 4/4] stk: AID shall not be displayed in case of self explanatory icon Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1346865579-24794-5-git-send-email-philippe.nunes@linux.intel.com \
--to=philippe.nunes@linux.intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox