Add Rfc6724 style sort for DnsResolver and fix potential bug
1. pass default network explicitly to fix potential mis-sync network problem in DnsResolver#query 2. Add rfc6724 sort and related test 3. DnsResolver do rfc6724 sort before response InetAddress answers 4. move haveIpv* function from DnsResolver to DnsUtils Bug: 129530368 Test: atest DnsResolverTest DnsUtilsTest Change-Id: I4efa599c0605f6a9e4ef2dd1a36572c69b3c433f
Loading
Please register or sign in to comment