OurPlay v5.5.9版本的 MD5 值为:d4e139798f4c2243a1145c8af5e21046
以下内容为反编译后的 f.java 源代码,内容仅作参考
package com.excelliance.kxqp.util;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
public class f {
public static String f15040a = "http://mto.multiopen.cn/chkversion.php";
public static int f15041b = 1;
private static f c;
private Context d;
private int e = -1;
private f(Context context) {
this.d = context.getApplicationContext();
}
public static f a(Context context) {
if (c == null) {
c = new f(context);
}
return c;
}
public int a() {
try {
return this.d.getPackageManager().getPackageInfo(this.d.getPackageName(), 0).versionCode;
} catch (PackageManager.NameNotFoundException e) {
e.printStackTrace();
return -1;
}
}
public String b() {
return this.d.getPackageName();
}
public ApplicationInfo c() {
try {
return this.d.getApplicationContext().getPackageManager().getApplicationInfo(b(), 128);
} catch (PackageManager.NameNotFoundException e) {
e.printStackTrace();
return null;
}
}
public int d() {
return c().metaData.getInt("MainChId");
}
public int e() {
return c().metaData.getInt("SubChId");
}
public String f() {
try {
PackageInfo packageInfo = this.d.getPackageManager().getPackageInfo(this.d.getPackageName(), 64);
if (packageInfo != null) {
return packageInfo.signatures[0].toCharsString();
}
return null;
} catch (Exception unused) {
return null;
}
}
public String g() {
return f15040a + "?chid=" + d() + "&subchid=" + e() + "&pkg=" + b() + "&vc=" + a() + "&sn=" + f();
}
public Boolean a(int i, int i2) {
if (i2 > i) {
return true;
}
return false;
}
}