MD5 校验值:5ef3f775189f42f146cf0788a99eebd7
ManageActivity.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package com.callerid.block.start; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import android.widget.Toast; import com.callerid.block.R; import com.callerid.block.customview.LImageButton; import com.callerid.block.main.BaseActivity; import com.firebase.ui.auth.AuthUI; import com.firebase.ui.auth.IdpResponse; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.auth.FirebaseUser; import java.util.Collections; import java.util.List; public class ManageActivity extends BaseActivity { private final int O = 970; private boolean P; public void A0(View view) { finish(); } public void B0(View view) { if (System.currentTimeMillis() - y3.c1.k0() <= 86400000) { y3.m.c().g("verifyexceeded"); Toast.makeText(getApplicationContext(), R.string.verify_exceeded, 0).show(); } else { y3.m.c().g("deletedataclick"); I0(); this.P = true; } } public static void C0(DialogInterface dialogInterface, int i10) { } public void E0(String str, DialogInterface dialogInterface, int i10) { try { Toast.makeText(getApplicationContext(), getResources().getString(R.string.deleted_successfully), 1).show(); p3.b.a(str, "", "", "1", new p3.a() { @Override public final void a(String str2) { "1".equals(str2); } }); } catch (Exception e10) { e10.printStackTrace(); } } public static void F0(Task task) { } private void G0(final String str) { new AlertDialog.Builder(this).setTitle(R.string.restrict_processing).setMessage(R.string.restrict_content).setNegativeButton(R.string.no, new DialogInterface.OnClickListener() { @Override public final void onClick(DialogInterface dialogInterface, int i10) { ManageActivity.C0(dialogInterface, i10); } }).setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() { @Override public final void onClick(DialogInterface dialogInterface, int i10) { ManageActivity.this.E0(str, dialogInterface, i10); } }).show(); } private void H0() { AuthUI.j().o(this).addOnCompleteListener(new OnCompleteListener() { @Override public final void onComplete(Task task) { ManageActivity.F0(task); } }); } private void I0() { if (FirebaseAuth.getInstance().f() != null) { H0(); } List singletonList = Collections.singletonList(new AuthUI.IdpConfig.e().b()); y3.c1.K1(); startActivityForResult(((AuthUI.d) ((AuthUI.d) ((AuthUI.d) AuthUI.j().c().c(singletonList)).d(R.mipmap.ic_launcher)).e("https://www.ayamote.com/terms.html", "https://www.ayamote.com/privacy.html")).a(), 970); } public void z0(View view) { if (System.currentTimeMillis() - y3.c1.k0() > 86400000) { y3.m.c().g("rectifydataclick"); I0(); } else { y3.m.c().g("verifyexceeded"); Toast.makeText(getApplicationContext(), R.string.verify_exceeded, 0).show(); } } @Override public void onActivityResult(int i10, int i11, Intent intent) { FirebaseUser f10; super.onActivityResult(i10, i11, intent); if (i10 == 970) { try { IdpResponse.h(intent); if (i11 == -1 && (f10 = FirebaseAuth.getInstance().f()) != null) { if (this.P) { this.P = false; y3.c1.A1(System.currentTimeMillis()); G0(f10.C0()); } else { try { y3.c1.B1(System.currentTimeMillis()); Intent intent2 = new Intent(this, (Class<?>) ManageDataActivity.class); intent2.putExtra("phone_number", f10.C0()); startActivity(intent2); overridePendingTransition(R.anim.fade_in, R.anim.fade_out); } catch (Exception e10) { e10.printStackTrace(); } } } } catch (Exception e11) { e11.printStackTrace(); } } } @Override public void onCreate(Bundle bundle) { super.onCreate(bundle); setContentView(R.layout.manage_activity); LinearLayout linearLayout = (LinearLayout) findViewById(R.id.setting_rectify_click); LinearLayout linearLayout2 = (LinearLayout) findViewById(R.id.setting_restrict_click); LImageButton lImageButton = (LImageButton) findViewById(R.id.lb_setting_back); ((TextView) findViewById(R.id.tv_title_setting)).setTypeface(y3.n1.a()); if (y3.r1.S(getApplicationContext()).booleanValue()) { lImageButton.setImageResource(y3.k1.b(this, R.attr.attr_ayu_seet, R.drawable.ayu_seet_black)); } linearLayout.setOnClickListener(new View.OnClickListener() { @Override public final void onClick(View view) { ManageActivity.this.z0(view); } }); lImageButton.setOnClickListener(new View.OnClickListener() { @Override public final void onClick(View view) { ManageActivity.this.A0(view); } }); linearLayout2.setOnClickListener(new View.OnClickListener() { @Override public final void onClick(View view) { ManageActivity.this.B0(view); } }); } }