Skip to content

Commit f3ee6f8

Browse files
author
Banavathu, Srinivas Naik
committed
Telephony: Remove references to mExitECMRunnable object.
Free mExitECMRunnable object while destroying CDMA phone. Change-Id: I411b3e5e41a9cc76c3571a98f13f91d84523f623
1 parent b998f31 commit f3ee6f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ public void dispose() {
224224
mCM.unregisterForNVReady(this); //EVENT_NV_READY
225225
mSST.unregisterForNetworkAttach(this); //EVENT_REGISTERED_TO_NETWORK
226226
mCM.unSetOnSuppServiceNotification(this);
227+
removeCallbacks(mExitEcmRunnable);
227228

228229
mPendingMmis.clear();
229230

@@ -256,6 +257,7 @@ public void removeReferences() {
256257
this.mSST = null;
257258
this.mEriManager = null;
258259
this.mCcatService = null;
260+
this.mExitEcmRunnable = null;
259261
}
260262

261263
protected void finalize() {

0 commit comments

Comments
 (0)