百度手机卫士 v8.4.5版本的 MD5 值为:c65ef854a40bb6200c4d8c4603c58403
以下内容为反编译后的 frb.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 com.baidu.hao123.internal.config.Config;
import java.util.HashMap;
public class frb {
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("https://www.baidu.com"));
PackageManager a2 = hsg.a(context);
if (a2 == null || (resolveActivity = a2.resolveActivity(intent, 0)) == null || resolveActivity.activityInfo == null) {
return null;
}
if (resolveActivity.activityInfo.packageName.equals(Config.OS)) {
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;
}
}