diff options
author | Robert Greenwalt <robdroid@android.com> | 2009-08-24 15:44:55 -0700 |
---|---|---|
committer | Robert Greenwalt <robdroid@android.com> | 2009-08-24 17:41:49 -0700 |
commit | 0badd0b700ed618dac421cb6cde4654b51acb3a4 (patch) | |
tree | a5d594ccff00174bf8ebdb0578046240fa7530d7 /telephony | |
parent | 4a51c20ce607c74914f90fd897f04080121ac13b (diff) | |
download | frameworks_base-0badd0b700ed618dac421cb6cde4654b51acb3a4.zip frameworks_base-0badd0b700ed618dac421cb6cde4654b51acb3a4.tar.gz frameworks_base-0badd0b700ed618dac421cb6cde4654b51acb3a4.tar.bz2 |
Note net availability even when apn not enabled
Fixes a problem where mms apn was on when we lost the network (airplane mode) but mms was
off when airplane mode was turned off so it kept thinking we didn't have access and
future mms always failed.
bug: 2075145
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/DataConnectionTracker.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/DataConnectionTracker.java b/telephony/java/com/android/internal/telephony/DataConnectionTracker.java index e187c37..cfb465e 100644 --- a/telephony/java/com/android/internal/telephony/DataConnectionTracker.java +++ b/telephony/java/com/android/internal/telephony/DataConnectionTracker.java @@ -453,7 +453,8 @@ public abstract class DataConnectionTracker extends Handler { } protected synchronized void setEnabled(int id, boolean enable) { - if (DBG) Log.d(LOG_TAG, "setEnabled(" + id + ", " + enable + ')'); + if (DBG) Log.d(LOG_TAG, "setEnabled(" + id + ", " + enable + ") with old state = " + + dataEnabled[id] + " and enabledCount = " + enabledCount); if (dataEnabled[id] != enable) { dataEnabled[id] = enable; |