summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.cpp
diff options
context:
space:
mode:
author Lorenzo Colitti <lorenzo@google.com> 2014-06-24 00:34:39 +0900
committer Lorenzo Colitti <lorenzo@google.com> 2014-06-26 17:04:38 +0900
commit309a75dbc3a96471f66967379b0e6b043244ae42 (patch)
treec35b54715b4eeab5b183316711b0c5dd45bfed00 /libs/hwui/Program.cpp
parentc0b9efa49ef7fd4649c2e7bdbf9889d82a7327d2 (diff)
Modify DNS server update methods.
1. Make addDnsServer not add duplicate servers and return a boolean value incating whether it changed anything. This is consistent with what we do for LinkAddresses and routes. 2. Add a setDnsServers method that sets all the DNS servers to the specified collection. This is consistent with what we do for LinkAddress. Bug: 9180552 Change-Id: I5baed09253261b66ea42ae2ea82398118e3ab0ac
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions