summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2012-07-10 16:38:09 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-07-10 16:38:09 -0700
commite87c71f8c1db547831e8f91be765a6eecee27342 (patch)
treeed5eeb18659dc0508d59a5a5adb91e2c206b1aa1 /telephony/java/com
parent2a17520fbaf2ca38c04702bacfe443d7a24b4b91 (diff)
parent1157e1a8d4320589983fc39688bb7be7d6487d67 (diff)
downloadframeworks_base-e87c71f8c1db547831e8f91be765a6eecee27342.zip
frameworks_base-e87c71f8c1db547831e8f91be765a6eecee27342.tar.gz
frameworks_base-e87c71f8c1db547831e8f91be765a6eecee27342.tar.bz2
Merge "When reconnecting disassociate dc and apnContext." into jb-dev
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java b/telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
index 83fc9c1..ed67759 100644
--- a/telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
+++ b/telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
@@ -157,6 +157,8 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
if (dcac != null) {
for (ApnContext apnContext : dcac.getApnListSync()) {
+ apnContext.setDataConnectionAc(null);
+ apnContext.setDataConnection(null);
apnContext.setReason(reason);
if (apnContext.getState() == State.FAILED) {
apnContext.setState(State.IDLE);