stk: Language Notification proactive cmd support

This commit is contained in:
Jeevaka Badrappan 2010-09-16 21:40:07 -07:00 committed by Denis Kenzior
parent 7e32ced1f3
commit 64b0af24bd
1 changed files with 11 additions and 0 deletions

View File

@ -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;