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

以下内容为反编译后的 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.axj;
import dxoptimizer.fnj;
import dxoptimizer.fnr;
import dxoptimizer.foe;
import dxoptimizer.hug;
import dxoptimizer.icu;
import dxoptimizer.icv;

public class NotifyMgrMainSettingsActivity extends axj 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_0x000009e9);
        b();
        c();
    }

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

    private void b() {
        ((DxTitleBar) findViewById(R.id.jadx_deobf_0x00001078)).b(R.string.jadx_deobf_0x000020c5).a((acx) this);
        this.a = (DxPreference) findViewById(R.id.jadx_deobf_0x0000186c);
        this.b = (DxPreference) findViewById(R.id.jadx_deobf_0x0000186d);
        this.c = (DxPreference) findViewById(R.id.jadx_deobf_0x0000186e);
        this.d = (DxRevealButton) findViewById(R.id.jadx_deobf_0x0000186f);
        this.a.setOnPrefenceChangeListener(this);
        this.b.setOnClickListener(this);
        this.d.setOnClickListener(this);
        this.c.setOnClickListener(this);
    }

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

    @Override
    public void onClick(View view) {
        if (view == this.d) {
            hug hugVar = new hug(this);
            hugVar.g(R.string.jadx_deobf_0x00002728);
            hugVar.a(R.string.jadx_deobf_0x000020b8, (View.OnClickListener) null);
            hugVar.c(R.string.jadx_deobf_0x000020b4, new foe(this));
            hugVar.show();
            return;
        }
        if (view == this.b) {
            b(new Intent(this, (Class<?>) NotifyMgrMasterSettingsActivity.class));
            icu.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_0x00002729));
            b(intent);
            icu.a("nmc", "nmc_scpc", (Number) 1);
        }
    }

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

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

    private void a(boolean z) {
        String string = getString(R.string.jadx_deobf_0x00002735);
        Object[] objArr = new Object[1];
        objArr[0] = getString(z ? R.string.jadx_deobf_0x00002734 : R.string.jadx_deobf_0x00002733);
        icv.b(this, String.format(string, objArr), 0);
    }
}