opt
This commit is contained in:
@@ -25,24 +25,24 @@ class HttpDnsNoop implements IMogoHttpDns {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCachedHttpDnsIps( String host ) {
|
||||
public String getCachedHttpDnsIps( String host,int type ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getHttpDnsIp( String host, boolean useCache, IHttpDnsCallback callback ) {
|
||||
public void getHttpDnsIp( String host,int type, boolean useCache, IHttpDnsCallback callback ) {
|
||||
if ( callback != null ) {
|
||||
callback.onParsed( null );
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addHttpDnsTtlCallback( String host, IHttpDnsTtlCallback callback ) {
|
||||
public void addHttpDnsTtlCallback( String host,int type, IHttpDnsTtlCallback callback ) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeHttpDnsTtlCallback( String host ) {
|
||||
public void removeHttpDnsTtlCallback( String host,int type ) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1265,7 +1265,9 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
|
||||
}
|
||||
} else if (v.getId() == R.id.debugPanel) {
|
||||
// 简易调试面板
|
||||
if (SystemClock.elapsedRealtime() - lastDebugPanelClickTime > 1000) {
|
||||
long diff = SystemClock.elapsedRealtime() - lastDebugPanelClickTime;
|
||||
Logger.d("DebugPanel", "diff: " + diff);
|
||||
if (diff > 3000) {
|
||||
debugPanelClickCount = 1;
|
||||
} else {
|
||||
debugPanelClickCount++;
|
||||
|
||||
Reference in New Issue
Block a user