Fix
- Stop stats refresh timer at end of call
This commit is contained in:
parent
5d518f0642
commit
90a013dece
1 changed files with 4 additions and 0 deletions
|
@ -1280,6 +1280,9 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
|
||||||
enableProximitySensing(false);
|
enableProximitySensing(false);
|
||||||
|
|
||||||
unbindDrawables(findViewById(R.id.topLayout));
|
unbindDrawables(findViewById(R.id.topLayout));
|
||||||
|
if (mTimer != null) {
|
||||||
|
mTimer.cancel();
|
||||||
|
}
|
||||||
instance = null;
|
instance = null;
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
System.gc();
|
System.gc();
|
||||||
|
@ -1756,6 +1759,7 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
|
||||||
mHandler.post(new Runnable() {
|
mHandler.post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
if (LinphoneManager.getLcIfManagerNotDestroyedOrNull() == null) return;
|
||||||
synchronized(LinphoneManager.getLc()) {
|
synchronized(LinphoneManager.getLc()) {
|
||||||
if (LinphoneActivity.isInstanciated()) {
|
if (LinphoneActivity.isInstanciated()) {
|
||||||
LinphoneCallParams params = call.getCurrentParamsCopy();
|
LinphoneCallParams params = call.getCurrentParamsCopy();
|
||||||
|
|
Loading…
Reference in a new issue