diff options
author | Ajay Nambi <anambi@codeaurora.org> | 2012-07-31 23:33:11 -0700 |
---|---|---|
committer | Ajay Nambi <anambi@codeaurora.org> | 2012-07-31 23:33:11 -0700 |
commit | c62df086696fc7cb42c51e086ea2aab076cff24b (patch) | |
tree | 92148013696fe2067a9a87b9deae12c9ca857701 /src/java | |
parent | ec1ecc09ac9339e00fe6fc283397d3afd6c07d9a (diff) | |
download | frameworks_opt_telephony-c62df086696fc7cb42c51e086ea2aab076cff24b.zip frameworks_opt_telephony-c62df086696fc7cb42c51e086ea2aab076cff24b.tar.gz frameworks_opt_telephony-c62df086696fc7cb42c51e086ea2aab076cff24b.tar.bz2 |
Telephony: Send disconnect when disposing DCTs
Send disconnect when disposing DCTs. This is invoked multiple times
during Inter-RAT (IRAT) handovers and sending disconnect to lower layers
keeps things in-sync and avoid race conditions as seen in field tests.
Change-Id: I7c0c32a0448934981f0ebbeb9ee2702b87f9b5d9
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java | 2 | ||||
-rw-r--r-- | src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java b/src/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java index 1088131..2194c2d 100644 --- a/src/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java +++ b/src/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java @@ -147,7 +147,7 @@ public final class CdmaDataConnectionTracker extends DataConnectionTracker { @Override public void dispose() { - cleanUpConnection(false, null, false); + cleanUpConnection(true, null, false); super.dispose(); diff --git a/src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java b/src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java index 016513c..45e75b5 100644 --- a/src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java +++ b/src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java @@ -228,7 +228,7 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker { @Override public void dispose() { if (DBG) log("GsmDCT.dispose"); - cleanUpAllConnections(false, null); + cleanUpAllConnections(true, null); super.dispose(); |