From 1501e16a033587682d50338979e946fda21d6ecc Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Wed, 16 May 2018 16:44:32 +0200 Subject: [PATCH] fix coding style --- Classes/LinphoneManager.m | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 1a3f4203f..c1ed2d108 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -2257,8 +2257,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) { if ([self lpConfigBoolForKey:@"publish_presence"]) { // set present to "tv", because "available" does not work yet if (enabled) { - linphone_core_set_presence_model( - LC, linphone_core_create_presence_model_with_activity(LC, LinphonePresenceActivityTV, NULL)); + linphone_core_set_presence_model(LC, linphone_core_create_presence_model_with_activity(LC, LinphonePresenceActivityTV, NULL)); } const MSList *proxies = linphone_core_get_proxy_config_list(LC); @@ -2311,11 +2310,10 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) { && bctbx_list_find_custom(callList, (bctbx_compare_func)comp_call_state_paused, NULL)) { [self startCallPausedLongRunningTask]; } - if (callList) { - /*if at least one call exist, enter normal bg mode */ + if (callList) // If at least one call exist, enter normal bg mode shouldEnterBgMode = TRUE; - } - /*stop the video preview*/ + + // Stop the video preview if (theLinphoneCore) { linphone_core_enable_video_preview(theLinphoneCore, FALSE); [self iterate];