OSDN Git Service

Remove some unused code.
[android-x86/frameworks-base.git] / core / java / android / net / DummyDataStateTracker.java
index daa1c09..d0c77cf 100644 (file)
@@ -70,15 +70,6 @@ public class DummyDataStateTracker implements NetworkStateTracker {
         mContext = context;
     }
 
-    /**
-     * Return the IP addresses of the DNS servers available for the mobile data
-     * network interface.
-     * @return a list of DNS addresses, with no holes.
-     */
-    public String[] getDnsPropNames() {
-        return new String[0];
-    }
-
     public boolean isPrivateDnsRouteSet() {
         return mPrivateDnsRouteSet;
     }
@@ -91,10 +82,6 @@ public class DummyDataStateTracker implements NetworkStateTracker {
         return mNetworkInfo;
     }
 
-    public int getDefaultGatewayAddr() {
-        return 0;
-    }
-
     public boolean isDefaultRouteSet() {
         return mDefaultRouteSet;
     }
@@ -181,14 +168,6 @@ public class DummyDataStateTracker implements NetworkStateTracker {
         return true;
     }
 
-    public int startUsingNetworkFeature(String feature, int callingPid, int callingUid) {
-        return -1;
-    }
-
-    public int stopUsingNetworkFeature(String feature, int callingPid, int callingUid) {
-        return -1;
-    }
-
     public void setDataEnable(boolean enabled) {
     }