[optimize] Architecture is shifting towards Hilt comprehensively
This commit is contained in:
@@ -47,7 +47,7 @@ object ApiClient {
|
||||
private val dnsEventListener = object : EventListener() {
|
||||
override fun dnsEnd(call: okhttp3.Call, domainName: String, inetAddressList: List<InetAddress>) {
|
||||
super.dnsEnd(call, domainName, inetAddressList)
|
||||
val ipAddresses = inetAddressList.joinToString(", ") { it.hostAddress }
|
||||
val ipAddresses = inetAddressList.joinToString(", ") { it.hostAddress ?: "" }
|
||||
Log.d("OkHttp_DNS", "Domain '$domainName' resolved to IPs: [$ipAddresses]")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user