summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2014-03-21 23:09:21 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-21 23:09:21 +0000
commitaa5a99b3b8655f0d092f76fe97a33b477da5262b (patch)
treeaf4758bc33ccd8d7c8964ecd13fb4da5de31dd95 /services/java
parent9cd17ea6af23a2e004067d54733f18c8c31b8bcd (diff)
parent1fce89d946760a1bcf3a733f55494f963eab00c2 (diff)
downloadframeworks_base-aa5a99b3b8655f0d092f76fe97a33b477da5262b.zip
frameworks_base-aa5a99b3b8655f0d092f76fe97a33b477da5262b.tar.gz
frameworks_base-aa5a99b3b8655f0d092f76fe97a33b477da5262b.tar.bz2
am 1fce89d9: am de4e7b49: Merge "Include the interface for clearDnsInterfaceForUidRange" into klp-dev
* commit '1fce89d946760a1bcf3a733f55494f963eab00c2': Include the interface for clearDnsInterfaceForUidRange
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/ConnectivityService.java2
-rw-r--r--services/java/com/android/server/NetworkManagementService.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/services/java/com/android/server/ConnectivityService.java b/services/java/com/android/server/ConnectivityService.java
index cb762e5..b7a1a55 100644
--- a/services/java/com/android/server/ConnectivityService.java
+++ b/services/java/com/android/server/ConnectivityService.java
@@ -3910,7 +3910,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
boolean forwardDns) {
try {
mNetd.clearUidRangeRoute(interfaze, uidStart, uidEnd);
- if (forwardDns) mNetd.clearDnsInterfaceForUidRange(uidStart, uidEnd);
+ if (forwardDns) mNetd.clearDnsInterfaceForUidRange(interfaze, uidStart, uidEnd);
} catch (RemoteException e) {
}
diff --git a/services/java/com/android/server/NetworkManagementService.java b/services/java/com/android/server/NetworkManagementService.java
index e6c5422..e83d376 100644
--- a/services/java/com/android/server/NetworkManagementService.java
+++ b/services/java/com/android/server/NetworkManagementService.java
@@ -1613,10 +1613,10 @@ public class NetworkManagementService extends INetworkManagementService.Stub
}
@Override
- public void clearDnsInterfaceForUidRange(int uid_start, int uid_end) {
+ public void clearDnsInterfaceForUidRange(String iface, int uid_start, int uid_end) {
mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
try {
- mConnector.execute("resolver", "clearifaceforuidrange", uid_start, uid_end);
+ mConnector.execute("resolver", "clearifaceforuidrange", iface, uid_start, uid_end);
} catch (NativeDaemonConnectorException e) {
throw e.rethrowAsParcelableException();
}