CCIPTV PRO v3.0.9.1版本的 MD5 值为:e78d4d980447be4a9f823314f45bbf03
以下内容为反编译后的 b.java 源代码,内容仅作参考
package f.j.a.h.i;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.AsyncTask;
import f.j.a.i.p.l;
import org.jsoup.Jsoup;
public class b extends AsyncTask<Void, String, String> {
public Context a;
public String b;
public b(Context context) {
this.b = "";
this.a = context;
try {
this.b = context.getPackageManager().getPackageInfo(context.getPackageName(), 0).versionName;
} catch (PackageManager.NameNotFoundException e2) {
e2.printStackTrace();
}
}
public String a(String str) {
return str.replaceAll("[\\-\\+\\.\\^:,]", "");
}
@Override
public String doInBackground(Void... voidArr) {
try {
return Jsoup.connect("https://play.google.com/store/apps/details?id=boxbr.apksrebrand.smarters&hl=en").timeout(3000).userAgent("Mozilla/5.0 (Windows; U; WindowsNT 5.1; en-US; rv1.8.1.6) Gecko/20070725 Firefox/2.0.0.6").referrer("http://www.google.com").get().select(" div.hAyfc:nth-child(4) > span:nth-child(2) >div:nth-child(1) > span:nth-child(1)").first().ownText();
} catch (Exception unused) {
return null;
}
}
@Override
public void onPostExecute(String str) {
int i2;
int i3;
super.onPostExecute(str);
if (str == null || str.isEmpty()) {
l.Q(false, this.a);
l.P(false, this.a);
return;
}
l.P(true, this.a);
if (str.matches("\\d\\.\\d") || str.matches("\\d\\.\\d\\.\\d") || str.matches("\\d\\.\\d\\.\\d\\.\\d")) {
String a = a(str);
String a2 = a(this.b);
if (a.length() > a2.length()) {
int length = a.length() - a2.length();
StringBuffer stringBuffer = new StringBuffer(a2);
for (int i4 = 0; i4 < length; i4++) {
stringBuffer.append(0);
}
a2 = stringBuffer.toString();
} else if (a.length() < a2.length()) {
int length2 = a2.length() - a.length();
StringBuffer stringBuffer2 = new StringBuffer(a);
for (int i5 = 0; i5 < length2; i5++) {
stringBuffer2.append(0);
}
a = stringBuffer2.toString();
}
try {
i2 = Integer.parseInt(a);
i3 = Integer.parseInt(a2);
} catch (NumberFormatException unused) {
i2 = 1;
i3 = 1;
}
if (i2 > i3) {
l.Q(true, this.a);
return;
}
}
l.Q(false, this.a);
}
}