Fix proximity sensor issue if no call
This commit is contained in:
parent
54f8bf892f
commit
04a4e2a8ed
1 changed files with 3 additions and 1 deletions
|
@ -796,7 +796,9 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
|
|||
}
|
||||
|
||||
private void showAudioView() {
|
||||
LinphoneManager.getInstance().enableProximitySensing(true);
|
||||
if (LinphoneManager.getLc().getCurrentCall() != null) {
|
||||
LinphoneManager.getInstance().enableProximitySensing(true);
|
||||
}
|
||||
replaceFragmentVideoByAudio();
|
||||
displayAudioCall();
|
||||
showStatusBar();
|
||||
|
|
Loading…
Reference in a new issue