diff options
Diffstat (limited to 'audio/telephony-dummy.c')
-rw-r--r-- | audio/telephony-dummy.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c index 46637b95..f71f65f6 100644 --- a/audio/telephony-dummy.c +++ b/audio/telephony-dummy.c @@ -79,6 +79,16 @@ int telephony_last_dialed_number(void) return 0; } +int telephony_terminate_call(void) +{ + if (telephony_get_indicator(dummy_indicators, "callsetup" > 0)) + telephony_update_indicator(dummy_indicators, "callsetup", 0); + else + telephony_update_indicator(dummy_indicators, "call", 0); + + return 0; +} + int telephony_init(void) { uint32_t features = 0; |