Fix for multi-apn MMS access.

Mark cellular variants with the same availability, regardless of which are currently in use.
Availability just means the radio is enabled and sees the network, but has no guarantees that
we could connect to an APN if requested.

Fix the requestRouteToHost logic to support apn switches without WIFI.

bug:2093841
This commit is contained in:
Robert Greenwalt
2009-09-10 15:06:20 -07:00
parent 8e5b853511
commit 4666ed0e7e
2 changed files with 8 additions and 14 deletions

View File

@@ -131,7 +131,7 @@ public class NetworkInfo implements Parcelable {
mSubtypeName = subtypeName;
setDetailedState(DetailedState.IDLE, null, null);
mState = State.UNKNOWN;
mIsAvailable = true;
mIsAvailable = false; // until we're told otherwise, assume unavailable
mIsRoaming = false;
}