diff options
author | Chad Brubaker <cbrubaker@google.com> | 2014-03-21 23:09:21 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-21 23:09:21 +0000 |
commit | aa5a99b3b8655f0d092f76fe97a33b477da5262b (patch) | |
tree | af4758bc33ccd8d7c8964ecd13fb4da5de31dd95 /services/java | |
parent | 9cd17ea6af23a2e004067d54733f18c8c31b8bcd (diff) | |
parent | 1fce89d946760a1bcf3a733f55494f963eab00c2 (diff) | |
download | frameworks_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.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 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(); } |