merge
This commit is contained in:
1
.idea/gradle.xml
generated
1
.idea/gradle.xml
generated
@@ -85,6 +85,7 @@
|
||||
</set>
|
||||
</option>
|
||||
<option name="resolveModulePerSourceSet" value="false" />
|
||||
<option name="useQualifiedModuleNames" value="true" />
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
|
||||
@@ -32,7 +32,7 @@ dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation rootProject.ext.dependencies.arouter
|
||||
annotationProcessor rootProject.ext.dependencies.aroutercompiler
|
||||
implementation 'com.mogo.httpdns:httpdns-helper:1.0.8'
|
||||
implementation 'com.mogo.httpdns:httpdns-helper:1.0.14'
|
||||
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation rootProject.ext.dependencies.httpdnsbase
|
||||
|
||||
@@ -51,10 +51,12 @@ public class MogoHttpDns implements IMogoHttpDns, HttpDns, OnAddressChangedListe
|
||||
@Override
|
||||
public void getHttpDnsIp(String host, int type, boolean useCache, IHttpDnsCallback callback) {
|
||||
Logger.d("MogoHttpDns", "host: " + host + " type: " + type);
|
||||
Logger.d("MogoHttpDns","all host: ");
|
||||
Map<String,String> map = httpDnsHelper.getAllAddress();
|
||||
for (String key : map.keySet()) {
|
||||
Logger.d("MogoHttpDns","key: "+key+" value: "+map.get(key));
|
||||
if(map != null) {
|
||||
Logger.d("MogoHttpDns", "all host: ");
|
||||
for (String key : map.keySet()) {
|
||||
Logger.d("MogoHttpDns", "key: " + key + " value: " + map.get(key));
|
||||
}
|
||||
}
|
||||
if (useCache) {
|
||||
String address = httpDnsHelper.getHttpDnsCachedAddress(type, host);
|
||||
|
||||
Reference in New Issue
Block a user