summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBanavathu, Srinivas Naik <snb@codeaurora.org>2010-08-06 12:47:50 +0530
committerBanavathu Srinivas Naik <snb@codeaurora.org>2010-08-23 22:03:28 -0700
commitf3ee6f87a344b185d8bde12c77440c9020378510 (patch)
tree4169e50260e47469579ce2bb30b00d787650cd41
parentb998f3111df82149567935138945500f33451b1a (diff)
downloadbase-f3ee6f87a344b185d8bde12c77440c9020378510.tar.gz
Telephony: Remove references to mExitECMRunnable object.android-sdk-tools_r7android-adt-0.9.8
Free mExitECMRunnable object while destroying CDMA phone. Change-Id: I411b3e5e41a9cc76c3571a98f13f91d84523f623
-rwxr-xr-xtelephony/java/com/android/internal/telephony/cdma/CDMAPhone.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java b/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
index 27eae22fbd03..7aecf5b24954 100755
--- a/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
+++ b/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
@@ -224,6 +224,7 @@ public class CDMAPhone extends PhoneBase {
mCM.unregisterForNVReady(this); //EVENT_NV_READY
mSST.unregisterForNetworkAttach(this); //EVENT_REGISTERED_TO_NETWORK
mCM.unSetOnSuppServiceNotification(this);
+ removeCallbacks(mExitEcmRunnable);
mPendingMmis.clear();
@@ -256,6 +257,7 @@ public class CDMAPhone extends PhoneBase {
this.mSST = null;
this.mEriManager = null;
this.mCcatService = null;
+ this.mExitEcmRunnable = null;
}
protected void finalize() {