diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2012-10-15 17:16:10 -0700 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2012-10-17 09:26:36 -0700 |
commit | 20659cc78b898b553a54bb6d9d7728f326b77bd1 (patch) | |
tree | 4b690d0c799f7de3dee697e159b23c3c0e4e4504 /src/java/com/android | |
parent | 27814a2e735c0221935d46654fb00ff3ec2c45ea (diff) | |
download | frameworks_opt_telephony-20659cc78b898b553a54bb6d9d7728f326b77bd1.zip frameworks_opt_telephony-20659cc78b898b553a54bb6d9d7728f326b77bd1.tar.gz frameworks_opt_telephony-20659cc78b898b553a54bb6d9d7728f326b77bd1.tar.bz2 |
Retry connections that are in SCANNING.
Old code would retry all connections except those in the SCANNING state
when we reattach to the network. We're seeing this from people coming out
of subways as well as emerging from their house.
bug:7353277
Change-Id: Ic1fdd745f52ef33dd94b1d85b0dcc57a00c04d62
Diffstat (limited to 'src/java/com/android')
-rw-r--r-- | src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java b/src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java index c2546d8..4e68450 100644 --- a/src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java +++ b/src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java @@ -692,7 +692,8 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker { apnContext.setState(DctConstants.State.IDLE); } if (apnContext.isReady()) { - if (apnContext.getState() == DctConstants.State.IDLE) { + if (apnContext.getState() == DctConstants.State.IDLE || + apnContext.getState() == DctConstants.State.SCANNING) { apnContext.setReason(reason); trySetupData(apnContext); } |