OSDN Git Service

Fix Cdma re-start of default connection.
authorRobert Greenwalt <robdroid@android.com>
Sun, 27 Sep 2009 21:01:33 +0000 (14:01 -0700)
committerRobert Greenwalt <robdroid@android.com>
Sun, 27 Sep 2009 21:55:37 +0000 (14:55 -0700)
commite436d46e575c7ded49d4f79dac115894daa13f99
treea139c987887c420ce10f19a1d6bd23bbafaa3aee
parente03848eb93fde30aee4201f8b41b91fa57475bc2
Fix Cdma re-start of default connection.

We dropped an onTrySetupData call because onEnableNewApn calls that automatically on GSM,
but CDMA was not doing anything.  Made CDMA simply call onTrySetupData.

Also, isApnTypeActive for CDMA was returning true even when no data was working.  Changed
to report true when initing or connected, like GSM.
telephony/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java