commit | 662b96cf55f5695a44380e57526461975415b20f | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Thu Aug 08 11:00:12 2013 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Aug 20 21:16:37 2013 +0900 |
tree | 2b19aae3fdd675b535c5a3c3b7ab2962eeab679e | |
parent | 6efd3893aedbb21b8cec3a70e8f9d9e1dc229972 [diff] |
Modify LinkProperties address update methods. 1. Make addLinkAddress a no-op if the address already exists. 2. Make addLinkAddress, addStackedLink and removeStackedLink return a boolean indicating whether something changed. 3. Add a removeLinkAddress method (currently there is no way of removing an address). 3. Move hasIPv6Address from ConnectivityService to LinkProperties, where it belongs. Bug: 9625448 Bug: 10232006 Change-Id: If641d0198432a7a505e358c059171f25bc9f13d5