[ProximitySensor] update proximitySensor management to fix specific case

This commit is contained in:
Brieuc Viel 2017-12-20 15:54:44 +01:00
parent 6491cce43c
commit a1531bac76
2 changed files with 2 additions and 1 deletions

View file

@ -989,6 +989,7 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char
if (state == LinphoneCallConnected && !mCallCenter) {
/*only register CT call center CB for connected call*/
[self setupGSMInteraction];
[self setSpeakerEnabled:FALSE];
}
// Post event

View file

@ -58,7 +58,7 @@ INIT_WITH_COMMON_CF {
if (!linphone_core_video_display_enabled(LC))
return;
[LinphoneManager.instance setSpeakerEnabled:FALSE];
[self setEnabled:FALSE];
[waitView startAnimating];