summaryrefslogtreecommitdiffstats
path: root/audio/telephony-dummy.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-09-05 12:58:24 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-09-05 12:58:24 +0300
commit1d1219ab4437f0b1c1cc826d11dc4c995579cb1c (patch)
treea68fd29f10e7616aab059ad13325be8b27ded735 /audio/telephony-dummy.c
parent624760ab4e7eb0480aea751ceb1876e7a846f67a (diff)
Implement answer call functionality (ATA)
Diffstat (limited to 'audio/telephony-dummy.c')
-rw-r--r--audio/telephony-dummy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c
index f71f65f6..8acb3586 100644
--- a/audio/telephony-dummy.c
+++ b/audio/telephony-dummy.c
@@ -89,6 +89,14 @@ int telephony_terminate_call(void)
return 0;
}
+int telephony_answer_call(void)
+{
+ telephony_update_indicator(dummy_indicators, "call", 1);
+ telephony_update_indicator(dummy_indicators, "callsetup", 0);
+
+ return 0;
+}
+
int telephony_init(void)
{
uint32_t features = 0;