百度手机卫士 v8.8.0版本的 MD5 值为:a85894a6923c8a39f0c3a3a686ad7443

以下内容为反编译后的 gil.java 源代码,内容仅作参考


package dxoptimizer;

import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.net.Uri;
import android.text.TextUtils;
import android.view.View;
import java.io.File;

public class gil {
    public static void a(Activity activity, View view, Bitmap bitmap, String str, String str2, String str3) {
        String str4 = null;
        if (hrb.b()) {
            if (view != null) {
                hrb.a((Context) activity, view, str, true, str3);
            } else if (bitmap != null) {
                hrb.a(bitmap, str, true);
            }
            str4 = "s_wechat_lt";
        } else {
            icv.b(activity, activity.getApplicationContext().getResources().getText(hvh.uninstall_wechat), 0);
        }
        if (str4 != null && !TextUtils.isEmpty(str2)) {
            icu.a(str2, str4, (Number) 1);
        }
    }

    public static void b(Activity activity, View view, Bitmap bitmap, String str, String str2, String str3) {
        String str4 = null;
        if (hrb.b()) {
            if (view != null) {
                hrb.a((Context) activity, view, str, false, str3);
            } else if (bitmap != null) {
                hrb.a(bitmap, str, false);
            }
            str4 = "s_wechat";
        } else {
            icv.b(activity, activity.getApplicationContext().getResources().getText(hvh.uninstall_wechat), 0);
        }
        if (str4 != null && !TextUtils.isEmpty(str2)) {
            icu.a(str2, str4, (Number) 1);
        }
    }

    public static void a(Activity activity, View view, Bitmap bitmap, String str, String str2, String str3, String str4, String str5) {
        File a;
        String str6 = str2 == null ? "https://mshoujiweishi.baidu.com/?from=sharefrom855" : str2;
        String charSequence = str3 == null ? activity.getApplicationContext().getResources().getText(hvh.app_name).toString() : str3;
        String str7 = null;
        if (hrb.d()) {
            if (view != null) {
                hrb.b(activity, null, view, activity.getApplicationContext().getResources().getText(hvh.app_name).toString(), str6, charSequence, str5);
            } else if (bitmap != null && (a = hrb.a(str5, bitmap)) != null && a.exists()) {
                hrb.a(activity, str6, charSequence, activity.getApplicationContext().getResources().getText(hvh.app_name).toString(), null, a.getAbsolutePath());
            }
            str7 = "s_tencent_qzone";
        } else {
            icv.b(activity, activity.getApplicationContext().getResources().getText(hvh.uninstall_qq), 0);
        }
        if (str7 != null && !TextUtils.isEmpty(str4)) {
            icu.a(str4, str7, (Number) 1);
        }
    }

    public static void b(Activity activity, View view, Bitmap bitmap, String str, String str2, String str3, String str4, String str5) {
        File a;
        String str6 = str2 == null ? "https://mshoujiweishi.baidu.com/?from=sharefrom855" : str2;
        String charSequence = str3 == null ? activity.getApplicationContext().getResources().getText(hvh.app_name).toString() : str3;
        String str7 = null;
        if (hrb.d()) {
            if (view != null) {
                hrb.a(activity, str, view, activity.getApplicationContext().getResources().getText(hvh.app_name).toString(), str6, charSequence, str5);
            } else if (bitmap != null && (a = hrb.a(str5, bitmap)) != null && a.exists()) {
                hrb.b(activity, str6, charSequence, activity.getApplicationContext().getResources().getText(hvh.app_name).toString(), str, a.getAbsolutePath());
            }
            str7 = "s_tencent_qq";
        } else {
            icv.b(activity, activity.getApplicationContext().getResources().getText(hvh.uninstall_qq), 0);
        }
        if (str7 != null && !TextUtils.isEmpty(str4)) {
            icu.a(str4, str7, (Number) 1);
        }
    }

    public static void c(Activity activity, View view, Bitmap bitmap, String str, String str2, String str3) {
        String str4 = null;
        if (hrb.c()) {
            if (view != null) {
                hrb.a(activity, str, view, str3);
            } else if (bitmap != null) {
                hrb.a(activity, Uri.fromFile(hrb.a(str3, bitmap)).toString(), str);
            }
            str4 = "s_sina";
        } else {
            icv.b(activity, activity.getApplicationContext().getResources().getText(hvh.uninstall_sinaweibo), 0);
        }
        if (str4 != null && !TextUtils.isEmpty(str2)) {
            icu.a(str2, str4, (Number) 1);
        }
    }
}