Shinigami ID v1.1.3版本的 MD5 值为:c381e85feac697f048c400ae89b7b92d

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


package s9;

import android.app.Dialog;
import android.graphics.drawable.ColorDrawable;
import android.net.Uri;
import android.os.Bundle;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.fragment.app.l;
import androidx.fragment.app.y;
import com.google.android.material.button.MaterialButton;
import com.shinigami.id.R;
import k.b;

public class d extends l {
    public boolean A0;
    public TextView B0;
    public TextView C0;
    public MaterialButton D0;

    public String f11915y0;

    public String f11916z0;

    public class a implements View.OnClickListener {
        public a() {
        }

        @Override
        public final void onClick(View view) {
            d dVar = d.this;
            if (dVar.A0) {
                dVar.Z().finish();
                return;
            }
            Integer valueOf = Integer.valueOf(dVar.Z().getColor(R.color.second2) | (-16777216));
            b.a aVar = new b.a();
            aVar.c();
            aVar.d();
            aVar.b();
            if (aVar.c == null) {
                aVar.c = new SparseArray<>();
            }
            SparseArray<Bundle> sparseArray = aVar.c;
            Bundle bundle = new Bundle();
            if (valueOf != null) {
                bundle.putInt("android.support.customtabs.extra.TOOLBAR_COLOR", valueOf.intValue());
            }
            sparseArray.put(2, bundle);
            aVar.a().a(d.this.Z(), Uri.parse("https://download.shinigamiscans.com/"));
        }
    }

    public d() {
        this.A0 = false;
    }

    public d(String str, String str2, boolean z10) {
        this.f11915y0 = str;
        this.f11916z0 = str2;
        this.A0 = z10;
    }

    @Override
    public final View F(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        Dialog dialog = this.f1347t0;
        if (dialog != null) {
            dialog.getWindow().setBackgroundDrawable(new ColorDrawable(0));
            this.f1347t0.getWindow().requestFeature(1);
            this.f1347t0.setCancelable(false);
            this.f1347t0.setCanceledOnTouchOutside(false);
        }
        return layoutInflater.inflate(R.layout.dialog_update, viewGroup, false);
    }

    @Override
    public final void Q(View view, Bundle bundle) {
        this.B0 = (TextView) view.findViewById(R.id.update_dialog_tv_title);
        this.C0 = (TextView) view.findViewById(R.id.update_dialog_tv_desc);
        this.D0 = (MaterialButton) view.findViewById(R.id.update_dialog_btn_ok);
        this.B0.setText(this.f11915y0);
        this.C0.setText(this.f11916z0);
        if (!this.A0) {
            this.D0.setText("Update Sekarang");
        }
        this.D0.setOnClickListener(new a());
    }

    @Override
    public final void m0(y yVar, String str) {
        try {
            androidx.fragment.app.a aVar = new androidx.fragment.app.a(yVar);
            aVar.d(0, this, "dlg_up1", 1);
            aVar.g();
        } catch (IllegalStateException e10) {
            e10.printStackTrace();
        }
    }
}