Merge "Add additional debug"

This commit is contained in:
Wink Saville
2012-01-25 14:04:59 -08:00
committed by Android (Google) Code Review

View File

@@ -992,11 +992,15 @@ private NetworkStateTracker makeWimaxStateTracker() {
NetworkInfo ni = network.getNetworkInfo();
if (ni.isAvailable() == false) {
if (DBG) log("special network not available");
if (!TextUtils.equals(feature,Phone.FEATURE_ENABLE_DUN_ALWAYS)) {
if (DBG) log("special network not available ni=" + ni.getTypeName());
return Phone.APN_TYPE_NOT_AVAILABLE;
} else {
// else make the attempt anyway - probably giving REQUEST_STARTED below
if (DBG) {
log("special network not available, but try anyway ni=" +
ni.getTypeName());
}
}
}