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

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


package com.dianxinos.optimizer.module.notimgr.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import cn.opda.a.phonoalbumshoushou.R;
import com.dianxinos.common.ui.view.DxPreference;
import com.dianxinos.optimizer.ui.DxRevealButton;
import com.dianxinos.optimizer.ui.DxTitleBar;
import com.dianxinos.optimizer.web.WebBrowserActivity;
import dxoptimizer.acd;
import dxoptimizer.acx;
import dxoptimizer.axi;
import dxoptimizer.flq;
import dxoptimizer.fly;
import dxoptimizer.fml;
import dxoptimizer.hqu;
import dxoptimizer.hzc;
import dxoptimizer.hzd;

public class NotifyMgrMainSettingsActivity extends axi implements View.OnClickListener, acd, acx {
    private DxPreference a;
    private DxPreference b;
    private DxPreference c;
    private DxRevealButton d;

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.jadx_deobf_0x000009d3);
        b();
        c();
    }

    @Override
    protected void onResume() {
        super.onResume();
    }

    private void b() {
        ((DxTitleBar) findViewById(R.id.jadx_deobf_0x0000103f)).b(R.string.jadx_deobf_0x0000208a).a((acx) this);
        this.a = (DxPreference) findViewById(R.id.jadx_deobf_0x00001804);
        this.b = (DxPreference) findViewById(R.id.jadx_deobf_0x00001805);
        this.c = (DxPreference) findViewById(R.id.jadx_deobf_0x00001806);
        this.d = (DxRevealButton) findViewById(R.id.jadx_deobf_0x00001807);
        this.a.setOnPrefenceChangeListener(this);
        this.b.setOnClickListener(this);
        this.d.setOnClickListener(this);
        this.c.setOnClickListener(this);
    }

    private void c() {
        this.a.setChecked(flq.d(this));
    }

    @Override
    public void onClick(View view) {
        if (view == this.d) {
            hqu hquVar = new hqu(this);
            hquVar.g(R.string.jadx_deobf_0x000026c5);
            hquVar.a(R.string.jadx_deobf_0x0000207d, (View.OnClickListener) null);
            hquVar.c(R.string.jadx_deobf_0x00002079, new fml(this));
            hquVar.show();
            return;
        }
        if (view == this.b) {
            b(new Intent(this, (Class<?>) NotifyMgrMasterSettingsActivity.class));
            hzc.a("nmc", "nmc_srbc", (Number) 1);
        } else if (view == this.c) {
            Intent intent = new Intent(this, (Class<?>) WebBrowserActivity.class);
            intent.putExtra("extra_url", "https://mshoujiweishi.baidu.com/static/html/common_question.html");
            intent.putExtra("extra_title", getString(R.string.jadx_deobf_0x000026c6));
            b(intent);
            hzc.a("nmc", "nmc_scpc", (Number) 1);
        }
    }

    @Override
    public void a(DxPreference dxPreference, Object obj) {
        boolean booleanValue = ((Boolean) obj).booleanValue();
        if (dxPreference == this.a) {
            flq.b(this, booleanValue);
            fly.a(this).a(booleanValue);
            a(booleanValue);
            if (!booleanValue) {
                hzc.a("nmc", "nmc_sscc", (Number) 1);
            }
        }
    }

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

    private void a(boolean z) {
        String string = getString(R.string.jadx_deobf_0x000026d2);
        Object[] objArr = new Object[1];
        objArr[0] = getString(z ? R.string.jadx_deobf_0x000026d1 : R.string.jadx_deobf_0x000026d0);
        hzd.b(this, String.format(string, objArr), 0);
    }
}