360 Wi-Fi v1.0.1版本的 MD5 值为:53dc85b63eb655b13344ce30ddaccae2
以下内容为反编译后的 ea.java 源代码,内容仅作参考
package com.my.target;
import IILiIILllIilI.lliIllIlLlL;
import android.content.Context;
import android.text.TextUtils;
import android.webkit.URLUtil;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.adjust.sdk.Constants;
import java.net.URL;
import java.net.URLDecoder;
import java.net.URLEncoder;
import lILilLIiiiLiL.IililiIiIlliL;
public class ea {
public static final String[] c = {"http://play.google.com", "https://play.google.com", "http://market.android.com", "https://market.android.com", "https://appgallery.huawei.com/", "https://appgallery.cloud.huawei.com/", "market://", "samsungapps://", "appmarket://", "hiapplink://", "https://apps.rustore.ru", "https://backapi.rustore.ru"};
@NonNull
public final String a;
@Nullable
public a b;
public interface a {
void a(@Nullable String str);
}
public ea(@NonNull String str) {
this.a = str;
}
public static void IiiLIIlLiLLlLL(ea eaVar, String str) {
eaVar.f(str);
}
@NonNull
public static String b(@NonNull String str) {
try {
return URLEncoder.encode(str, "UTF-8");
} catch (Throwable th) {
lliIllIlLlL.ii(th, new StringBuilder("UrlResolver: Unable to encode url - "));
return "";
}
}
public static boolean c(@Nullable String str) {
if (TextUtils.isEmpty(str)) {
return false;
}
return str.startsWith(Constants.SCHEME);
}
public static boolean d(@Nullable String str) {
if (TextUtils.isEmpty(str)) {
return false;
}
for (String str2 : c) {
if (str.startsWith(str2)) {
return true;
}
}
return false;
}
public static boolean e(@Nullable String str) {
if (TextUtils.isEmpty(str)) {
return false;
}
try {
if (URLUtil.isHttpsUrl(str)) {
return !TextUtils.isEmpty(new URL(str).getHost());
}
} catch (Throwable unused) {
}
return false;
}
public void f(String str) {
a aVar = this.b;
if (aVar != null) {
aVar.a(str);
this.b = null;
}
}
@NonNull
public static ea g(@NonNull String str) {
return new ea(str);
}
public static void iL(ea eaVar, Context context) {
eaVar.a(context);
}
@NonNull
public ea a(@Nullable a aVar) {
this.b = aVar;
return this;
}
@NonNull
public static String a(@NonNull String str) {
try {
return URLDecoder.decode(str, "UTF-8");
} catch (Throwable th) {
lliIllIlLlL.ii(th, new StringBuilder("UrlResolver: Unable to decode url - "));
return str;
}
}
public void b(@NonNull Context context) {
c0.b(new IililiIiIlliL(26, this, context.getApplicationContext()));
}
public void a(Context context) {
String c2 = c2.a().a(this.a, null, context).c();
if (this.b == null) {
return;
}
c0.c(new IililiIiIlliL(25, this, c2));
}
}