百度手机卫士 v8.1.5版本的 MD5 值为:15af71eae74e2f2b5b9f845fe77a4804
以下内容为反编译后的 fns.java 源代码,内容仅作参考
package dxoptimizer;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.text.TextUtils;
import java.util.HashMap;
public class fns {
private static final HashMap a = new HashMap();
static {
a.put("com.tencent.mm", "com.tencent.mm.plugin.wallet.pay.ui");
}
public static String a(Context context) {
ResolveInfo resolveActivity;
Intent intent = new Intent("android.intent.action.VIEW", Uri.parse("http://www.baidu.com"));
PackageManager a2 = hly.a(context);
if (a2 == null || (resolveActivity = a2.resolveActivity(intent, 0)) == null || resolveActivity.activityInfo == null) {
return null;
}
if (resolveActivity.activityInfo.packageName.equals("android")) {
return "noset";
}
return resolveActivity.activityInfo.packageName;
}
public static boolean a(String str) {
if (TextUtils.isEmpty(str)) {
return false;
}
return a.containsKey(str);
}
public static String b(String str) {
if (TextUtils.isEmpty(str)) {
return null;
}
return (String) a.get(str);
}
public static HashMap a() {
return a;
}
}