ui-call-data: Add property to delay showing call display and ringing
This "ui-active" property should be set to FALSE for new incoming calls and set to TRUE after a short delay of 20ms. This property is used to delay showing the call display and starting to ring. This delay gives DBus clients like phosh-antispam (https://gitlab.com/kop316/phosh-antispam) some time to make a decision whether a call should be hung up or not and defer starting to ring and showing the display only afterwards.
This commit is contained in:
@@ -38,6 +38,7 @@ G_DECLARE_FINAL_TYPE (CallsUiCallData, calls_ui_call_data, CALLS, UI_CALL_DATA,
|
||||
CallsUiCallData *calls_ui_call_data_new (CallsCall *call);
|
||||
void calls_ui_call_data_silence_ring (CallsUiCallData *self);
|
||||
gboolean calls_ui_call_data_get_silenced (CallsUiCallData *self);
|
||||
gboolean calls_ui_call_data_get_ui_active (CallsUiCallData *self);
|
||||
CuiCallState calls_call_state_to_cui_call_state (CallsCallState state);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user