summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-03-24 21:41:41 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2011-03-25 08:59:08 -0700
commit7cf5b419da5a49ccead2af51c7b6587ce1195958 (patch)
tree6d248cbcbd093a1de555bbd5c8596f228c7d7d13 /core
parent6a19759c0fae744e80c032ca3c23932e73e6d9d9 (diff)
downloadframeworks_base-7cf5b419da5a49ccead2af51c7b6587ce1195958.zip
frameworks_base-7cf5b419da5a49ccead2af51c7b6587ce1195958.tar.gz
frameworks_base-7cf5b419da5a49ccead2af51c7b6587ce1195958.tar.bz2
Fix some alt-network issues.
Two issues. 1) remove default routes for non-default networks. 2) don't report mobile is the active default network just because it is active. bug:4157610 Change-Id: I9e7c94718a5b1f08840b219b304ba3904259a65f
Diffstat (limited to 'core')
-rw-r--r--core/java/android/net/NetworkStateTracker.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/net/NetworkStateTracker.java b/core/java/android/net/NetworkStateTracker.java
index 039dfff..19986d1 100644
--- a/core/java/android/net/NetworkStateTracker.java
+++ b/core/java/android/net/NetworkStateTracker.java
@@ -410,4 +410,7 @@ public abstract class NetworkStateTracker extends Handler {
public void interpretScanResultsAvailable() {
}
+ public String getInterfaceName() {
+ return mInterfaceName;
+ }
}