summaryrefslogtreecommitdiffstats
path: root/src/stk.c
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2010-09-16 21:40:07 -0700
committerDenis Kenzior <denkenz@gmail.com>2010-09-21 08:44:48 -0500
commit64b0af24bd062ee8ac9c5d8310978c86e752918e (patch)
tree985249befd4bffd242937db379f062ac766e4151 /src/stk.c
parent7e32ced1f305e6ac5cbc8c1873eea7cfaa83fa3a (diff)
downloadofono-64b0af24bd062ee8ac9c5d8310978c86e752918e.tar.bz2
stk: Language Notification proactive cmd support
Diffstat (limited to 'src/stk.c')
-rw-r--r--src/stk.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/stk.c b/src/stk.c
index 6c64b77c..5706dbb2 100644
--- 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;