Disable proximity sensor on Call view after a network error
This commit is contained in:
parent
1b445ef0db
commit
37593f9883
1 changed files with 1 additions and 0 deletions
|
@ -1230,6 +1230,7 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
|
|||
@Override
|
||||
protected void onDestroy() {
|
||||
LinphoneManager.getInstance().changeStatusToOnline();
|
||||
LinphoneManager.getInstance().enableProximitySensing(false);
|
||||
|
||||
if (mControlsHandler != null && mControls != null) {
|
||||
mControlsHandler.removeCallbacks(mControls);
|
||||
|
|
Loading…
Reference in a new issue