summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-07 15:22:15 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-07-07 15:22:15 -0700
commit62edc960224fd6410d5e08cbb0e09ee4ac6e0c44 (patch)
treeb7b3f6cbc36692f5f31a7a029f4753a93739c944 /telephony
parent7bf9f930d986335cd24dc15e2ee588b851f194d4 (diff)
parent024af038a7ad04bb551c305c235d25e51cbeda13 (diff)
downloadframeworks_base-62edc960224fd6410d5e08cbb0e09ee4ac6e0c44.zip
frameworks_base-62edc960224fd6410d5e08cbb0e09ee4ac6e0c44.tar.gz
frameworks_base-62edc960224fd6410d5e08cbb0e09ee4ac6e0c44.tar.bz2
Merge change 6383 into donut
* changes: Cleanup connection when airplane mode is entered.
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java2
-rw-r--r--telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java b/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
index 0be09b9..e75a333 100644
--- a/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
+++ b/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
@@ -456,7 +456,7 @@ final class CdmaServiceStateTracker extends ServiceStateTracker {
Message msg = dcTracker.obtainMessage(DataConnectionTracker.EVENT_CLEAN_UP_CONNECTION);
msg.arg1 = 1; // tearDown is true
msg.obj = CDMAPhone.REASON_RADIO_TURNED_OFF;
- sendMessage(msg);
+ dcTracker.sendMessage(msg);
// Poll data state up to 15 times, with a 100ms delay
// totaling 1.5 sec. Normal data disable action will finish in 100ms.
diff --git a/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java b/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
index 066f782..b3b4345 100644
--- a/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
+++ b/telephony/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
@@ -540,7 +540,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker {
Message msg = dcTracker.obtainMessage(DataConnectionTracker.EVENT_CLEAN_UP_CONNECTION);
msg.arg1 = 1; // tearDown is true
msg.obj = GSMPhone.REASON_RADIO_TURNED_OFF;
- sendMessage(msg);
+ dcTracker.sendMessage(msg);
// poll data state up to 15 times, with a 100ms delay
// totaling 1.5 sec. Normal data disable action will finish in 100ms.