add proguard
This commit is contained in:
@@ -42,6 +42,7 @@ interface IMogoHttpDns extends IProvider {
|
||||
* @param type 类型
|
||||
* @return
|
||||
*/
|
||||
@Keep
|
||||
String getCachedHttpDnsIps(String host, int type);
|
||||
//
|
||||
// /**
|
||||
@@ -60,6 +61,7 @@ interface IMogoHttpDns extends IProvider {
|
||||
* @param useCache
|
||||
* @param callback
|
||||
*/
|
||||
@Keep
|
||||
void getHttpDnsIp(String host, int type, boolean useCache, IHttpDnsCallback callback);
|
||||
|
||||
// /**
|
||||
@@ -76,6 +78,7 @@ interface IMogoHttpDns extends IProvider {
|
||||
* @param type
|
||||
* @param callback
|
||||
*/
|
||||
@Keep
|
||||
void addHttpDnsTtlCallback(String host, int type, IHttpDnsTtlCallback callback);
|
||||
|
||||
// /**
|
||||
@@ -90,5 +93,6 @@ interface IMogoHttpDns extends IProvider {
|
||||
* @param host
|
||||
* @param type
|
||||
*/
|
||||
@Keep
|
||||
void removeHttpDnsTtlCallback(String host,int type);
|
||||
}
|
||||
|
||||
@@ -14,6 +14,10 @@ public
|
||||
@Keep
|
||||
class MogoHttpDnsHandler {
|
||||
|
||||
private MogoHttpDnsHandler(){
|
||||
|
||||
}
|
||||
|
||||
private static IMogoHttpDns sHttpDns;
|
||||
|
||||
public static IMogoHttpDns getHttpDnsApi() {
|
||||
|
||||
Reference in New Issue
Block a user