commit | 64c43b1948a2b2fcd692cd4a48f031efbf7f7336 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Jun 23 21:27:53 2014 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Wed Jun 25 18:22:12 2014 +0000 |
tree | 03e29a39fee271e3c6c4d909825f026a1235c364 | |
parent | 1603eadc5ad2f6d3e912ca0f20ec1bbc0b81fe01 [diff] |
Minor changes to RouteInfo. 1. Realize that mDestination can never be null and update the code accordingly. 2. Simplify isDefaultRoute. 3. Provide two new hidden utility methods, isIPv4Default() and isIPv6Default(), that can be used by LinkProperties to to determine if the system has connectivity. 4. Update tests. Bug: 9180552 Change-Id: I85028d50556c888261d250925962bdedfe08e0c6