diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2013-01-19 00:34:07 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-01-19 00:34:07 +0000 |
commit | 63837f455d08605173985042a89d5f9ba06883d1 (patch) | |
tree | 255916695ca7d523020f5c70961ccddb5174c0b3 /services/java/com/android/server/NetworkManagementService.java | |
parent | f60f94a89e49c125f4aff6496710a0fb66579545 (diff) |
Revert "Second pass tying into dns cache per interface"
This reverts commit f60f94a89e49c125f4aff6496710a0fb66579545
Change-Id: If52dffd5100a6b03275da0eabfa05e24c5ecada9
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 cc8165a6545e..9ce02e316062 100644 --- a/services/java/com/android/server/NetworkManagementService.java +++ b/services/java/com/android/server/NetworkManagementService.java @@ -1511,32 +1511,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(); |