Fix memory leak
This commit is contained in:
parent
29b2b1a5ae
commit
929dc5c773
1 changed files with 1 additions and 1 deletions
|
@ -641,7 +641,7 @@ public class InCallActivity extends FragmentActivity implements
|
||||||
@Override
|
@Override
|
||||||
protected void onPause() {
|
protected void onPause() {
|
||||||
LinphoneManager.removeListener(this);
|
LinphoneManager.removeListener(this);
|
||||||
LinphoneManager.startProximitySensorForActivity(this);
|
LinphoneManager.stopProximitySensorForActivity(this);
|
||||||
|
|
||||||
super.onPause();
|
super.onPause();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue