百度手机卫士 v8.6.2版本的 MD5 值为:fa60cb367e40201705a2d9f9ce2cbfdf

以下内容为反编译后的 fvt.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 fvt {
    private static final HashMap<String, String> 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 = hxq.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 a.get(str);
    }

    public static HashMap<String, String> a() {
        return a;
    }
}