百度手机卫士 v8.4.5版本的 MD5 值为:c65ef854a40bb6200c4d8c4603c58403

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


package com.dianxinos.optimizer;

import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;
import cn.opda.a.phonoalbumshoushou.R;
import com.dianxinos.optimizer.module.mms.ui.MessageUtils;
import dxoptimizer.aei;
import dxoptimizer.ayv;
import dxoptimizer.hqf;
import dxoptimizer.hsg;
import dxoptimizer.hsq;
import dxoptimizer.hts;
import dxoptimizer.htt;

public class AboutActivity extends ayv implements aei {
    private TextView a;

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.jadx_deobf_0x00000776);
        hsq.a(this, R.id.jadx_deobf_0x00000f95, R.string.jadx_deobf_0x00001c39, this);
        this.a = (TextView) findViewById(R.id.jadx_deobf_0x00000f96);
        b();
    }

    private void b() {
        String str = null;
        try {
            PackageManager a = hsg.a(this);
            if (a != null) {
                str = a.getPackageInfo(getPackageName(), 0).versionName;
            }
        } catch (PackageManager.NameNotFoundException e) {
            e.printStackTrace();
        }
        if (TextUtils.isEmpty(str)) {
            this.a.setText("");
        } else {
            this.a.setText(getString(R.string.jadx_deobf_0x00001c3a, new Object[]{str}));
        }
    }

    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.jadx_deobf_0x00000f98:
                a("https://weibo.com/shoujiweishi");
                hts.a(this);
                hts.a("misc", "misc_is", (Number) 1);
                return;
            case R.id.jadx_deobf_0x00000f99:
                MessageUtils.b(this, getString(R.string.jadx_deobf_0x00001c3c));
                htt.b(this, R.string.jadx_deobf_0x00001c3b, 0);
                return;
            case R.id.jadx_deobf_0x00000f9a:
                a("http://jq.qq.com/?_wv=1027&k=Wtkzv3");
                c();
                return;
            case R.id.jadx_deobf_0x00000f9b:
                a("http://tieba.baidu.com/f?ie=utf-8&kw=%E7%99%BE%E5%BA%A6%E6%89%8B%E6%9C%BA%E5%8D%AB%E5%A3%AB&fr=search");
                c();
                return;
            default:
                return;
        }
    }

    private void c() {
        hts.a(this);
        hts.a("misc", "misc_ofc", (Number) 1);
    }

    private void a(String str) {
        Intent intent = new Intent("android.intent.action.VIEW", Uri.parse(str));
        if (!hqf.a(this, intent)) {
            htt.b(this, R.string.jadx_deobf_0x0000280b, 0);
            return;
        }
        intent.setPackage("com.baidu.searchbox");
        if (!hqf.a(this, intent)) {
            intent.setPackage(null);
        }
        intent.addFlags(268435456);
        b(intent);
    }

    @Override
    public void l_() {
        finish();
    }
}