projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e32ced
)
stk: Language Notification proactive cmd support
author
Jeevaka Badrappan
<jeevaka.badrappan@elektrobit.com>
Fri, 17 Sep 2010 04:40:07 +0000
(21:40 -0700)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 21 Sep 2010 13:44:48 +0000
(08:44 -0500)
src/stk.c
patch
|
blob
|
history
diff --git
a/src/stk.c
b/src/stk.c
index
6c64b77
..
5706dbb
100644
(file)
--- a/
src/stk.c
+++ b/
src/stk.c
@@
-1911,6
+1911,17
@@
void ofono_stk_proactive_command_notify(struct ofono_stk *stk,
&rsp, stk);
break;
+ case STK_COMMAND_TYPE_LANGUAGE_NOTIFICATION:
+ /*
+ * If any clients are interested, then the ISO639
+ * 2-letter codes has to be convered to language strings.
+ * Converted language strings has to be added to the
+ * property list.
+ */
+ ofono_info("Language Code: %s",
+ stk->pending_cmd->language_notification.language);
+ break;
+
default:
rsp.result.type = STK_RESULT_TYPE_COMMAND_NOT_UNDERSTOOD;
break;