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);
|
||||
|
||||
unbindDrawables(findViewById(R.id.topLayout));
|
||||
if (mTimer != null) {
|
||||
mTimer.cancel();
|
||||
}
|
||||
instance = null;
|
||||
super.onDestroy();
|
||||
System.gc();
|
||||
|
@ -1756,6 +1759,7 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
|
|||
mHandler.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (LinphoneManager.getLcIfManagerNotDestroyedOrNull() == null) return;
|
||||
synchronized(LinphoneManager.getLc()) {
|
||||
if (LinphoneActivity.isInstanciated()) {
|
||||
LinphoneCallParams params = call.getCurrentParamsCopy();
|
||||
|
|
Loading…
Reference in a new issue