File tree 1 file changed +2
-2
lines changed
okhttp-android/src/androidTest/kotlin/okhttp3/android
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ import java.net.UnknownHostException
32
32
import java.util.concurrent.CountDownLatch
33
33
import mockwebserver3.MockResponse
34
34
import mockwebserver3.junit4.MockWebServerRule
35
- import okhttp3.AsyncDns
36
35
import okhttp3.Dns
37
36
import okhttp3.HttpUrl.Companion.toHttpUrl
38
37
import okhttp3.OkHttpClient
39
38
import okhttp3.Request
39
+ import okhttp3.android.internal.AsyncDns
40
40
import okhttp3.tls.HandshakeCertificates
41
41
import okhttp3.tls.HeldCertificate
42
42
import okio.IOException
@@ -131,7 +131,7 @@ class AndroidDnsTest {
131
131
val latch = CountDownLatch (1 )
132
132
133
133
// assumes an IPv4 address
134
- AndroidDns . IPv4 .query(
134
+ AndroidDns ( AndroidDns . DnsClass . IPV4 ) .query(
135
135
hostname = hostname,
136
136
originatingCall = null ,
137
137
callback =
You can’t perform that action at this time.
0 commit comments