diff options
| author | Robert Greenwalt <rgreenwalt@google.com> | 2013-01-19 00:35:48 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-01-19 00:36:12 +0000 |
| commit | 20da885caa27ee8148c61be0ff56451ad6bf8146 (patch) | |
| tree | a504a38829026af0c0f0b467589a338f4615df36 /services/java/com/android/server/NetworkManagementService.java | |
| parent | 8fea4e72e4dcff9fa76168b9e26cf5907102f70b (diff) | |
| parent | 63837f455d08605173985042a89d5f9ba06883d1 (diff) | |
Merge "Revert "Second pass tying into dns cache per interface""
Diffstat (limited to 'services/java/com/android/server/NetworkManagementService.java')
| -rw-r--r-- | services/java/com/android/server/NetworkManagementService.java | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/services/java/com/android/server/NetworkManagementService.java b/services/java/com/android/server/NetworkManagementService.java index de8a44bc25e7..0a5459380372 100644 --- a/services/java/com/android/server/NetworkManagementService.java +++ b/services/java/com/android/server/NetworkManagementService.java @@ -1468,32 +1468,6 @@ public class NetworkManagementService extends INetworkManagementService.Stub } @Override - public void setDnsIfaceForPid(String iface, int pid) throws IllegalStateException { - mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG); - try { - String cmd = "resolver setifaceforpid " + iface + " " + pid; - - mConnector.execute(cmd); - } catch (NativeDaemonConnectorException e) { - throw new IllegalStateException( - "Error communicating with native deamon to set interface for pid" + iface, e); - } - } - - @Override - public void clearDnsIfaceForPid(int pid) throws IllegalStateException { - mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG); - try { - String cmd = "resolver clearifaceforpid " + pid; - - mConnector.execute(cmd); - } catch (NativeDaemonConnectorException e) { - throw new IllegalStateException( - "Error communicating with native deamon to clear interface for pid " + pid, e); - } - } - - /** {@inheritDoc} */ public void monitor() { if (mConnector != null) { mConnector.monitor(); |
