am 62edc960: Merge change 6383 into donut

Merge commit '62edc960224fd6410d5e08cbb0e09ee4ac6e0c44'

* commit '62edc960224fd6410d5e08cbb0e09ee4ac6e0c44':
  Cleanup connection when airplane mode is entered.
This commit is contained in:
Android (Google) Code Review
2009-07-07 15:38:59 -07:00
committed by The Android Open Source Project
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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.