Telephony: Remove references to mExitECMRunnable object.
Free mExitECMRunnable object while destroying CDMA phone. Change-Id: I411b3e5e41a9cc76c3571a98f13f91d84523f623
This commit is contained in:
committed by
Banavathu Srinivas Naik
parent
b998f3111d
commit
f3ee6f87a3
@@ -224,6 +224,7 @@ public class CDMAPhone extends PhoneBase {
|
|||||||
mCM.unregisterForNVReady(this); //EVENT_NV_READY
|
mCM.unregisterForNVReady(this); //EVENT_NV_READY
|
||||||
mSST.unregisterForNetworkAttach(this); //EVENT_REGISTERED_TO_NETWORK
|
mSST.unregisterForNetworkAttach(this); //EVENT_REGISTERED_TO_NETWORK
|
||||||
mCM.unSetOnSuppServiceNotification(this);
|
mCM.unSetOnSuppServiceNotification(this);
|
||||||
|
removeCallbacks(mExitEcmRunnable);
|
||||||
|
|
||||||
mPendingMmis.clear();
|
mPendingMmis.clear();
|
||||||
|
|
||||||
@@ -256,6 +257,7 @@ public class CDMAPhone extends PhoneBase {
|
|||||||
this.mSST = null;
|
this.mSST = null;
|
||||||
this.mEriManager = null;
|
this.mEriManager = null;
|
||||||
this.mCcatService = null;
|
this.mCcatService = null;
|
||||||
|
this.mExitEcmRunnable = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void finalize() {
|
protected void finalize() {
|
||||||
|
|||||||
Reference in New Issue
Block a user