diff options
author | Robert Greenwalt <robdroid@android.com> | 2010-03-10 16:10:43 -0800 |
---|---|---|
committer | Robert Greenwalt <robdroid@android.com> | 2010-03-10 16:19:18 -0800 |
commit | 78a640af951377d9749d0dbfd027687cbb92dc72 (patch) | |
tree | d25f42c50b37810178f4b38b97695adc166f42ad /core/java/android | |
parent | 180403ac103e8ee1eeb07c5e3377748ee6a03917 (diff) | |
download | frameworks_base-78a640af951377d9749d0dbfd027687cbb92dc72.zip frameworks_base-78a640af951377d9749d0dbfd027687cbb92dc72.tar.gz frameworks_base-78a640af951377d9749d0dbfd027687cbb92dc72.tar.bz2 |
Make HiPri work when already connected.
A recent change made the HiPri MobileDataStateTracker listen for notifications
about the default connection (which HiPri shadows). Local code was sending
itself a notification using the old HiPri badging instead of the new Default
badging and those notifications where therefore ignored.
Manifested itself on HiPri connections when we were already on 3g.
See change 42422 on master platform/frameworks/base for the change this is completing.
Change-Id: I375026048724d0035297287c61c6c2f58d4e0294
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/net/MobileDataStateTracker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/net/MobileDataStateTracker.java b/core/java/android/net/MobileDataStateTracker.java index b59e279..17b0330 100644 --- a/core/java/android/net/MobileDataStateTracker.java +++ b/core/java/android/net/MobileDataStateTracker.java @@ -346,7 +346,7 @@ public class MobileDataStateTracker extends NetworkStateTracker { ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); intent.putExtra(Phone.STATE_KEY, Phone.DataState.CONNECTED.toString()); intent.putExtra(Phone.STATE_CHANGE_REASON_KEY, Phone.REASON_APN_CHANGED); - intent.putExtra(Phone.DATA_APN_TYPES_KEY, mApnType); + intent.putExtra(Phone.DATA_APN_TYPES_KEY, mApnTypeToWatchFor); intent.putExtra(Phone.DATA_APN_KEY, mApnName); intent.putExtra(Phone.DATA_IFACE_NAME_KEY, mInterfaceName); intent.putExtra(Phone.NETWORK_UNAVAILABLE_KEY, false); |