summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorRobert Greenwalt <robdroid@android.com>2010-02-18 11:25:54 -0800
committerRobert Greenwalt <robdroid@android.com>2010-02-23 16:04:41 -0800
commit65ae29bd852ff468ad003af241d5177fe016c74a (patch)
treee60cea5f80ac7ea250dcba3f477d452e9a5c8be0 /telephony/java/com
parent33285c37abee6d95d0ac55cd7e9889cdc8d96d14 (diff)
downloadframeworks_base-65ae29bd852ff468ad003af241d5177fe016c74a.zip
frameworks_base-65ae29bd852ff468ad003af241d5177fe016c74a.tar.gz
frameworks_base-65ae29bd852ff468ad003af241d5177fe016c74a.tar.bz2
Add USB RNDIS enable/disable control
Also adding interface configuration to the tethering machine. Also fixing netd bug that didn't send up/down portion of iface config command.
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/DataConnectionTracker.java3
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 52c8b1f..cab7b81 100644
--- a/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
+++ b/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
@@ -440,10 +440,11 @@ public abstract class DataConnectionTracker extends Handler {
return Phone.APN_REQUEST_FAILED;
}
- if(DBG) Log.d(LOG_TAG, "enableApnType("+type+"), isApnTypeActive = "
+ if (DBG) Log.d(LOG_TAG, "enableApnType("+type+"), isApnTypeActive = "
+ isApnTypeActive(type) + " and state = " + state);
if (!isApnTypeAvailable(type)) {
+ if (DBG) Log.d(LOG_TAG, "type not available");
return Phone.APN_TYPE_NOT_AVAILABLE;
}