Revert DNS cache flush command deletion from "Cleanup: Delete dead code."

This reverts part of commit 7a161c535104555890fa78b99faf1f414fc03e85.
The DNS cache flushing code needs to be called when routes change.

Change-Id: I20d39eabfa088deeeeeff0c3292b1910fd948b0d
bug:16549455
This commit is contained in:
Paul Jensen
2014-08-06 15:34:26 -04:00
parent 306f1a45c6
commit b69a3a8eaa
2 changed files with 15 additions and 0 deletions

View File

@@ -312,6 +312,11 @@ interface INetworkManagementService
*/
void setDnsServersForNetwork(int netId, in String[] servers, String domains);
/**
* Flush the DNS cache associated with the specified network.
*/
void flushNetworkDnsCache(int netId);
void setFirewallEnabled(boolean enabled);
boolean isFirewallEnabled();
void setFirewallInterfaceRule(String iface, boolean allow);