diff options
author | Chad Brubaker <cbrubaker@google.com> | 2014-03-21 20:52:04 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-03-21 20:52:05 +0000 |
commit | de4e7b4947998638e0345ab9a181bf35a8827bef (patch) | |
tree | a21cf5d846ff9c3c71e67aca3bc48628120d369f /services/java | |
parent | abf701e6751aed487d4ed0986e0fae8810c3658f (diff) | |
parent | 1b66923148130dec7139175a3bf4c4d534cabac4 (diff) | |
download | frameworks_base-de4e7b4947998638e0345ab9a181bf35a8827bef.zip frameworks_base-de4e7b4947998638e0345ab9a181bf35a8827bef.tar.gz frameworks_base-de4e7b4947998638e0345ab9a181bf35a8827bef.tar.bz2 |
Merge "Include the interface for clearDnsInterfaceForUidRange" into klp-dev
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/ConnectivityService.java | 2 | ||||
-rw-r--r-- | services/java/com/android/server/NetworkManagementService.java | 4 |
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 3e22792..41a0e6b 100644 --- a/services/java/com/android/server/ConnectivityService.java +++ b/services/java/com/android/server/ConnectivityService.java @@ -3907,7 +3907,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 92f99c2..72fce62 100644 --- a/services/java/com/android/server/NetworkManagementService.java +++ b/services/java/com/android/server/NetworkManagementService.java @@ -1567,10 +1567,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(); } |