forked from mirrors/linphone-iphone
[ProximitySensor] update proximitySensor management to fix specific case
This commit is contained in:
parent
6491cce43c
commit
a1531bac76
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue