commit | acc8c09d3a12d00b565a76acc26061172c3dd3c6 | [log] [tgz] |
---|---|---|
author | Erik Kline <ek@google.com> | Mon Apr 13 15:33:34 2015 +0900 |
committer | Erik Kline <ek@google.com> | Tue Apr 14 16:19:11 2015 +0900 |
tree | 6f4077bf87d609de10b44bf3d52da1ec0b097b94 | |
parent | c1c6528d2b686d5a17e577e7864a319dcba7c224 [diff] |
Add android.net.IpPrefix#contains() This was originally to avoid RuntimeException in RouteInfo#matches(): When an IPv6 prefix with a length greater than the max permitted for IPv4 is matched against an Inet4Address, the call to NetworkUtils throws RuntimeException. Change-Id: I92e2bd19a4e7d656cf682fd27678da07e211850d