summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authoryoonsung.nam <yoonsung.nam@samsung.com>2012-05-16 11:05:21 +0900
committerJohn Wang <johnwang@google.com>2012-05-16 17:00:23 -0700
commit32eda207cdeec28fe829e399ae7030d40108ac88 (patch)
tree02180dfa734337955c292f42134ae5ff8c7df4f8 /telephony
parent108feca9a02e7b5da705161660b76d4f356f5900 (diff)
downloadframeworks_base-32eda207cdeec28fe829e399ae7030d40108ac88.zip
frameworks_base-32eda207cdeec28fe829e399ae7030d40108ac88.tar.gz
frameworks_base-32eda207cdeec28fe829e399ae7030d40108ac88.tar.bz2
Restore ready apns once voice call ended
Currently GsmDCT does not setup default data if secondary APNs are connected but default is disconnected. Sometimes retry alarm of default expries during voice call but it's rejected due to voice calling and eHRPD attached status. Fix onVocieCallEnded() to restore all ready apns inclduing defautl regardless of isConnected(). bug:6502005 Change-Id: I25db9be010cb588dfee51bdaf435f24055ecb431 Signed-off-by: yoonsung.nam <yoonsung.nam@samsung.com>
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java b/telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
index e2579e3..ccb095a 100644
--- a/telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
+++ b/telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
@@ -2141,10 +2141,9 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
// clean slate after call end.
resetPollStats();
}
- } else {
- // reset reconnect timer
- setupDataOnReadyApns(Phone.REASON_VOICE_CALL_ENDED);
}
+ // reset reconnect timer
+ setupDataOnReadyApns(Phone.REASON_VOICE_CALL_ENDED);
}
@Override