what-the-bank/sources/com/scb/phone/view/fragment/creditcard/SettingTabFragment.java

1607 lines
53 KiB
Java

package com.scb.phone.view.fragment.creditcard;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.PorterDuff;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CompoundButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.appcompat.widget.SwitchCompat;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.fragment.app.FragmentActivity;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnCheckedChanged;
import butterknife.OnClick;
import com.scb.phone.R;
import com.scb.phone.view.activity.cardmanagement.ExportCardStatementActivity;
import com.scb.phone.view.activity.cardmanagement.SelectPurchasesActivity;
import com.scb.phone.view.activity.cardmanagement.StatementChannelLandingActivity;
import com.scb.phone.view.activity.cardmanagement.TempLimitHomeActivity;
import com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferLandingActivity;
import com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity;
import com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.fragment.BaseFragment;
import com.scb.phone.view.fragment.creditcard.SettingTabFragment;
import java.util.ArrayList;
import java.util.List;
import o.C0367Fb;
import o.C0435Gm;
import o.C0690Mh;
import o.C0693Mj;
import o.C10763eOA;
import o.C10790eOs;
import o.C15633hKf;
import o.C15715hv;
import o.C16498opz;
import o.C2904anR;
import o.C2906anT;
import o.C2908anV;
import o.C2909anW;
import o.C6862cdS;
import o.DJv;
import o.GG;
import o.GN;
import o.IB;
import o.InterfaceC13391fZD;
import o.InterfaceC9070dcl;
import o.ZI;
import o.gjJ;
import o.iJI;
import o.nMh;
import o.pug;
import o.smx;
import o.vSV;
import o.xZj;
/* loaded from: classes5.dex */
public class SettingTabFragment extends Hilt_SettingTabFragment implements InterfaceC9070dcl {
C0367Fb c;
HBt d;
private boolean f;
private ArrayList<C0367Fb> h;
private ArrayList<IB> i;
@BindView
ImageView ivCardLockArrow;
@BindView
ImageView ivDeejungInstallments;
@BindView
ImageView ivDeejungInstallmentsArrow;
@BindView
ImageView ivDeejungTransfer;
@BindView
ImageView ivDeejungTransferArrow;
@BindView
ImageView ivECommerceError;
@BindView
ImageView ivErrorIcon;
@BindView
ImageView ivTempLimit;
@BindView
ImageView ivTempLimitArrow;
@BindView
LinearLayout layoutBlockOnlinePayment;
@BindView
LinearLayout layoutCardError;
@BindView
ConstraintLayout layoutCardStatus;
@BindView
ViewGroup layoutDeejungInstallments;
@BindView
ViewGroup layoutDeejungTransfer;
@BindView
ViewGroup layoutEStatement;
@BindView
RelativeLayout layoutLockECommerce;
@BindView
LinearLayout layoutLockECommerceRoot;
@BindView
ViewGroup layoutStatementChannel;
@BindView
ViewGroup layoutTempLimitIncrease;
@BindView
LinearLayout llContentViewLayout;
@BindView
LinearLayout llErrorLayout;
@InterfaceC13391fZD
public C2906anT settingTabPresenter;
@BindView
SwitchCompat switchBlockDomestic;
@BindView
SwitchCompat switchBlockInternational;
@BindView
SwitchCompat switchCardStatus;
@BindView
TextView tvDeejungInstallments;
@BindView
TextView tvDeejungTransferLabel;
@BindView
TextView tvECommerceRemark;
@BindView
TextView tvErrorDesc;
@BindView
TextView tvErrorTitle;
@BindView
TextView tvOngoingTempLimitMessage;
@BindView
TextView tvRemarkTemplimitMessage;
@BindView
TextView tvTempLimitIncrease;
@BindView
View viewSeparatorBlockOnlinePayment;
@BindView
View viewSeparatorLockECom;
/* loaded from: classes5.dex */
public interface HBt {
void d(C0367Fb c0367Fb);
void f();
void i();
void j();
}
public static SettingTabFragment b(C0367Fb c0367Fb, List<C0367Fb> list, List<IB> list2, boolean z) {
Bundle bundle = new Bundle();
bundle.putParcelable("CREDIT_CARD_DISPLAY", c0367Fb);
bundle.putParcelableArrayList("CREDIT_CARD_DISPLAY_LIST", new ArrayList<>(list));
bundle.putParcelableArrayList("E_COMMERCE_REMARK_LIST", new ArrayList<>(list2));
bundle.putBoolean("E_COMMERCE_MAINTENANCE_ENABLE", z);
SettingTabFragment settingTabFragment = new SettingTabFragment();
settingTabFragment.setArguments(bundle);
return settingTabFragment;
}
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
View inflate = layoutInflater.inflate(R.layout.2131559481, viewGroup, false);
((BaseFragment) this).a = ButterKnife.c(this, inflate);
this.settingTabPresenter.e((C2906anT) this);
if (getArguments() != null) {
this.c = (C0367Fb) getArguments().getParcelable("CREDIT_CARD_DISPLAY");
this.i = getArguments().getParcelableArrayList("E_COMMERCE_REMARK_LIST");
this.f = getArguments().getBoolean("E_COMMERCE_MAINTENANCE_ENABLE", false);
this.h = getArguments().getParcelableArrayList("CREDIT_CARD_DISPLAY_LIST");
if (this.c != null) {
K();
}
}
return inflate;
}
@Override // o.InterfaceC9070dcl
public final void a(boolean z) {
this.switchCardStatus.setChecked(z);
this.layoutCardError.setVisibility(8);
this.layoutCardStatus.setVisibility(0);
}
@Override // o.InterfaceC9070dcl
public final void H() {
this.layoutCardError.setVisibility(0);
this.layoutCardStatus.setVisibility(8);
}
@OnCheckedChanged
public void onTempBlockToggleChanged(CompoundButton compoundButton, boolean z) {
if (compoundButton.isPressed()) {
compoundButton.setChecked(!z);
C2906anT c2906anT = this.settingTabPresenter;
ZI.IeS ieS = new ZI.IeS(this.c.u, this.c.an) { // from class: o.aoC
private String a;
private String c;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).c(this.c, this.a);
}
{
this.c = r1;
this.a = r2;
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
}
}
@Override // o.InterfaceC9070dcl
public final void e(boolean z) {
this.switchCardStatus.setChecked(z);
HBt hBt = this.d;
if (hBt != null) {
if (z) {
String str = this.c.g;
hBt.i();
} else {
String str2 = this.c.g;
hBt.f();
}
}
}
@Override // o.InterfaceC9070dcl
public final void c(String str, String str2) {
if ("NORMAL".equals(str)) {
if ("".equals(str2)) {
e(d(getString(R.string.templock_title), getString(R.string.templock_primary_user_message), getString(R.string.lock), getString(R.string.cancel), this.switchCardStatus.isChecked()));
return;
} else {
if ("S".equals(str2)) {
e(d(getString(R.string.templock_title), getString(R.string.templock_supplementary_message), getString(R.string.lock_real_supplementary), getString(R.string.cancel_real_supplementary_and_unlock), this.switchCardStatus.isChecked()));
return;
}
return;
}
}
if ("TEMP_BLOCK".equals(str)) {
e(d(getString(R.string.temp_unlock_primary_title), getString(R.string.temp_unlock_primary_message), getString(R.string.unlock), getString(R.string.cancel_real_supplementary_and_unlock), this.switchCardStatus.isChecked()));
}
}
@Override // o.InterfaceC9070dcl
public final void g(boolean z) {
ViewGroup viewGroup = this.layoutTempLimitIncrease;
if (viewGroup != null) {
viewGroup.setVisibility(z ? 0 : 8);
}
}
@OnClick
public void handleClickOfDeejungInstallments() {
C2906anT c2906anT = this.settingTabPresenter;
if (!c2906anT.a.d()) {
ZI.IeS ieS = new ZI.IeS(c2906anT) { // from class: o.anX
private C2906anT b;
@Override // o.ZI.IeS
public final void e(Object obj) {
r2.a(new InterfaceC9070dcl.HBt(this.b, (InterfaceC9070dcl) obj) { // from class: o.anT.4
private InterfaceC9070dcl a;
private C2906anT c;
{
this.c = r1;
this.a = r2;
}
@Override // o.InterfaceC9070dcl.HBt
public final void b() {
C2906anT.a(this.c);
}
@Override // o.InterfaceC9070dcl.HBt
public final void a() {
this.a.h();
}
});
}
{
this.b = c2906anT;
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
return;
}
return;
}
C2909anW c2909anW = new C2909anW();
if (c2906anT.f != 0) {
c2909anW.e(c2906anT.f);
}
}
@Override // o.InterfaceC9070dcl
public final void I() {
startActivityForResult(SelectPurchasesActivity.Zk_(getActivity(), this.c), 112);
}
@Override // o.InterfaceC9070dcl
public final void b(InterfaceC9070dcl.HBt hBt) {
FragmentActivity activity;
BaseFragment.HBt hBt2 = new BaseFragment.HBt(hBt) { // from class: o.eOp
private InterfaceC9070dcl.HBt c;
@Override // com.scb.phone.view.fragment.BaseFragment.HBt
public final void c(Context context) {
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(context).c(com.scb.phone.R.string.unable_to_proceed_error_title).d(com.scb.phone.R.string.ccr_email_verification_body_e_statement), Integer.valueOf(com.scb.phone.R.string.ccr_email_verification_cancel_btn), new DialogInterface.OnClickListener(r0) { // from class: o.eOw
private InterfaceC9070dcl.HBt d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
this.d.b();
}
{
this.d = r1;
}
}})).aoT_(com.scb.phone.R.string.ccr_email_verification_ok_btn_e_statement, new DialogInterface.OnClickListener(this.c) { // from class: o.eOx
private InterfaceC9070dcl.HBt b;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
this.b.a();
}
{
this.b = r1;
}
}).show();
}
{
this.c = hBt;
}
};
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
hBt2.c(activity);
}
@Override // o.InterfaceC9070dcl
public final void h() {
FragmentActivity activity;
BaseFragment.HBt hBt = new BaseFragment.HBt(this) { // from class: o.eOF
private SettingTabFragment d;
@Override // com.scb.phone.view.fragment.BaseFragment.HBt
public final void c(Context context) {
this.d.startActivityForResult(ManageEmailLandingActivity.aeX_(context), 119);
}
{
this.d = this;
}
};
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
hBt.c(activity);
}
@Override // o.InterfaceC9070dcl
public final void F() {
FragmentActivity activity;
BaseFragment.HBt hBt = new BaseFragment.HBt(this) { // from class: o.eOt
private SettingTabFragment b;
@Override // com.scb.phone.view.fragment.BaseFragment.HBt
public final void c(Context context) {
SettingTabFragment.b(this.b, context);
}
{
this.b = this;
}
};
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
hBt.c(activity);
}
@OnClick
public void onTempLimitIncreaseClick() {
v("cardmgmt_temp_limit");
C2906anT c2906anT = this.settingTabPresenter;
C0367Fb c0367Fb = this.c;
C2908anV c2908anV = new C2908anV();
if (c2906anT.f != 0) {
c2908anV.e(c2906anT.f);
}
xZj xzj = c2906anT.b;
if (xzj.e.a() != null && xzj.e.a().r != null && xzj.e.a().r.a && c0367Fb.T != null && c0367Fb.T.equals("CDX")) {
c2906anT.b.e(new C15633hKf(c2906anT.d, c2906anT.g));
xZj xzj2 = c2906anT.b;
xzj2.d(xzj2.i, new C2906anT.HBt(c2906anT, c0367Fb));
return;
}
c2906anT.b.b(new C15633hKf(c2906anT.d, c2906anT.g));
xZj xzj3 = c2906anT.b;
xzj3.d(xzj3.i, new C2906anT.IeS(c2906anT, (byte) 0));
}
@Override // o.InterfaceC9070dcl
public final void a(GG gg) {
startActivityForResult(TempLimitHomeActivity.Zr_(getActivity(), this.c, gg), 101);
}
@Override // o.InterfaceC9070dcl
public final void a(C0435Gm c0435Gm) {
Object[] objArr = {getActivity(), this.c, c0435Gm};
startActivityForResult((Intent) TempLimitHomeActivity.c(objArr), 101);
}
@Override // o.InterfaceC9070dcl
public final void b(boolean z) {
this.tvTempLimitIncrease.setEnabled(z);
this.layoutTempLimitIncrease.setEnabled(z);
if (!z) {
ary_(this.tvTempLimitIncrease, this.ivTempLimit, this.ivTempLimitArrow);
return;
}
TextView textView = this.tvTempLimitIncrease;
ImageView imageView = this.ivTempLimit;
ImageView imageView2 = this.ivTempLimitArrow;
textView.setTextColor(nMh.getColor(getActivity(), R.color.f2982131099805));
imageView.setAlpha(1.0f);
imageView2.clearColorFilter();
}
private C0693Mj d(String str, String str2, String str3, String str4, boolean z) {
C0693Mj c0693Mj = new C0693Mj();
c0693Mj.d = str;
c0693Mj.c = str2;
C0690Mh c0690Mh = new C0690Mh();
Runnable runnable = new Runnable(this, z) { // from class: o.eOz
private SettingTabFragment a;
private boolean d;
@Override // java.lang.Runnable
public final void run() {
SettingTabFragment.c(this.a, this.d);
}
{
this.a = this;
this.d = z;
}
};
c0690Mh.e = C0690Mh.IeS.CUSTOM;
c0690Mh.d = runnable;
c0690Mh.b = str3;
c0693Mj.e = c0690Mh;
C0690Mh c0690Mh2 = new C0690Mh();
c0690Mh2.e = C0690Mh.IeS.JUST_DISMISS;
c0690Mh2.b = str4;
c0693Mj.b = c0690Mh2;
return c0693Mj;
}
@Override // o.InterfaceC9070dcl
public final void E() {
C0693Mj c0693Mj = new C0693Mj();
c0693Mj.d = getString(R.string.unable_to_proceed_error_title);
c0693Mj.c = getString(R.string.non_pre_approved_error_message);
C0690Mh c0690Mh = new C0690Mh();
c0690Mh.e = C0690Mh.IeS.JUST_DISMISS;
c0690Mh.b = getString(R.string.ok);
c0693Mj.e = c0690Mh;
e(c0693Mj);
}
@Override // o.InterfaceC9070dcl
public final void d(String str, String str2) {
this.layoutTempLimitIncrease.setEnabled(false);
TextView textView = this.tvTempLimitIncrease;
ImageView imageView = this.ivTempLimit;
ImageView imageView2 = this.ivTempLimitArrow;
textView.setTextColor(nMh.getColor(getActivity(), R.color.f2982131099805));
imageView.setAlpha(1.0f);
imageView2.clearColorFilter();
this.tvOngoingTempLimitMessage.setText(String.format(getResources().getString(R.string.ongoing_temp_limit_message), str, str2));
this.ivTempLimitArrow.setVisibility(8);
this.tvOngoingTempLimitMessage.setVisibility(0);
}
@Override // o.InterfaceC9070dcl
public final void f() {
this.ivTempLimitArrow.setVisibility(0);
this.tvOngoingTempLimitMessage.setVisibility(8);
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public void onActivityResult(int i, int i2, Intent intent) {
super.onActivityResult(i, i2, intent);
if (101 == i && i2 == 104) {
C2906anT c2906anT = this.settingTabPresenter;
c2906anT.b.d.c();
ZI.IeS ieS = new ZI.IeS() { // from class: o.aoD
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).o();
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
}
}
@Override // o.InterfaceC9070dcl
public final void d(boolean z) {
this.tvDeejungInstallments.setEnabled(z);
this.layoutDeejungInstallments.setEnabled(z);
if (!z) {
ary_(this.tvDeejungInstallments, this.ivDeejungInstallments, this.ivDeejungInstallmentsArrow);
return;
}
TextView textView = this.tvDeejungInstallments;
ImageView imageView = this.ivDeejungInstallments;
ImageView imageView2 = this.ivDeejungInstallmentsArrow;
textView.setTextColor(nMh.getColor(getActivity(), R.color.f2982131099805));
imageView.setAlpha(1.0f);
imageView2.clearColorFilter();
}
@Override // o.InterfaceC9070dcl
public final void c(boolean z) {
this.tvDeejungTransferLabel.setEnabled(z);
this.layoutDeejungTransfer.setEnabled(z);
if (!z) {
ary_(this.tvDeejungTransferLabel, this.ivDeejungTransfer, this.ivDeejungTransferArrow);
return;
}
TextView textView = this.tvDeejungTransferLabel;
ImageView imageView = this.ivDeejungTransfer;
ImageView imageView2 = this.ivDeejungTransferArrow;
textView.setTextColor(nMh.getColor(getActivity(), R.color.f2982131099805));
imageView.setAlpha(1.0f);
imageView2.clearColorFilter();
}
@Override // o.InterfaceC9070dcl
public final void f(boolean z) {
this.layoutEStatement.setVisibility(z ? 0 : 8);
}
@Override // o.InterfaceC9070dcl
public final void m() {
v("cardmgmt_temp_lock_cardxdeeplink");
}
@Override // o.InterfaceC9070dcl
public final void c() {
this.switchCardStatus.setVisibility(8);
this.ivCardLockArrow.setVisibility(0);
}
@Override // o.InterfaceC9070dcl
public final void a() {
this.switchCardStatus.setVisibility(0);
this.ivCardLockArrow.setVisibility(8);
}
@Override // o.InterfaceC9070dcl
public final void a(String str) {
this.tvRemarkTemplimitMessage.setVisibility(0);
this.tvRemarkTemplimitMessage.setText(str);
}
@Override // o.InterfaceC9070dcl
public final void j() {
this.tvRemarkTemplimitMessage.setVisibility(8);
}
@Override // o.InterfaceC9070dcl
public final void r() {
v("cardmgmt_rq_stmt_cardxdeeplink");
}
@Override // o.InterfaceC9070dcl
public final void s() {
v("cardmgmt_mm_stmt_channel_cardxdeeplink");
}
@Override // o.InterfaceC9070dcl
public final void a(String str, String str2) {
if (getContext() != null) {
startActivity(CardXGetStartWebViewActivity.ZF_(getContext(), str, str2));
}
}
@Override // o.InterfaceC9070dcl
public final void b(GN gn) {
startActivity(DeejungTransferLandingActivity.ZA_(getActivity(), this.c, gn));
}
private void ary_(TextView textView, ImageView imageView, ImageView imageView2) {
int color = nMh.getColor(getActivity(), R.color.f3002131099807);
textView.setTextColor(color);
imageView.setAlpha(0.4f);
imageView2.setColorFilter(color, PorterDuff.Mode.MULTIPLY);
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public void onDestroy() {
this.settingTabPresenter.w_();
super.onDestroy();
}
@Override // o.InterfaceC9070dcl
public final void k() {
c("requestccstmt_popup_notnow", new pug[0]);
}
@Override // o.InterfaceC9070dcl
public final void B() {
c("requestccstmt_popup_verify", new pug[0]);
}
@Override // o.InterfaceC9070dcl
public final void w() {
c("requestccstmt", new pug[0]);
}
@Override // o.InterfaceC9070dcl
public final void n() {
c("deejung_transfer_popup_notnow", new pug[0]);
}
@Override // o.InterfaceC9070dcl
public final void l() {
c("deejung_transfer_popup_verify", new pug[0]);
}
@Override // o.InterfaceC9070dcl
public final void h(boolean z) {
this.layoutStatementChannel.setVisibility(z ? 0 : 8);
}
@Override // o.InterfaceC9070dcl
public final void i() {
startActivity(StatementChannelLandingActivity.Zn_(getActivity(), this.c, this.h));
}
@Override // o.InterfaceC9070dcl
public final void d() {
this.ivErrorIcon.setImageResource(R.drawable.box_empty);
this.tvErrorTitle.setText(R.string.auto_cc_detail_no_result_title);
this.tvErrorDesc.setText(R.string.auto_cc_detail_no_result_desc);
this.llErrorLayout.setVisibility(0);
this.llContentViewLayout.setVisibility(8);
}
@Override // o.InterfaceC9070dcl
public final void e() {
this.llErrorLayout.setVisibility(8);
this.llContentViewLayout.setVisibility(0);
}
@Override // o.InterfaceC9070dcl
public final void a(boolean z, boolean z2) {
this.layoutLockECommerceRoot.setVisibility(0);
this.layoutLockECommerce.setVisibility(0);
this.tvECommerceRemark.setVisibility(0);
this.viewSeparatorLockECom.setVisibility(0);
C2906anT c2906anT = this.settingTabPresenter;
ZI.IeS ieS = new ZI.IeS(c2906anT, this.f, this.i) { // from class: o.aoB
private List a;
private C2906anT b;
private boolean c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.a(this.b, this.c, this.a, (InterfaceC9070dcl) obj);
}
{
this.b = c2906anT;
this.c = r2;
this.a = r3;
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
this.ivECommerceError.setVisibility(8);
this.layoutBlockOnlinePayment.setVisibility(0);
this.viewSeparatorBlockOnlinePayment.setVisibility(0);
this.switchBlockDomestic.setChecked(z);
this.switchBlockInternational.setChecked(z2);
}
@Override // o.InterfaceC9070dcl
public final void b() {
this.layoutLockECommerceRoot.setVisibility(8);
}
@Override // o.InterfaceC9070dcl
public final void G() {
this.layoutLockECommerceRoot.setVisibility(0);
this.layoutLockECommerce.setVisibility(0);
this.tvECommerceRemark.setVisibility(0);
this.viewSeparatorLockECom.setVisibility(8);
C2906anT c2906anT = this.settingTabPresenter;
ZI.IeS ieS = new ZI.IeS(c2906anT, this.i) { // from class: o.aoA
private C2906anT a;
private List b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.a(this.b, (InterfaceC9070dcl) obj);
}
{
this.a = c2906anT;
this.b = r2;
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
this.ivECommerceError.setVisibility(0);
this.layoutBlockOnlinePayment.setVisibility(8);
this.viewSeparatorBlockOnlinePayment.setVisibility(8);
}
@Override // o.InterfaceC9070dcl
public final void d(boolean z, boolean z2) {
a(z, z2);
}
@Override // o.InterfaceC9070dcl
public final void g() {
this.tvECommerceRemark.setVisibility(8);
}
@Override // o.InterfaceC9070dcl
public final void c(String str) {
this.tvECommerceRemark.setText(str);
}
@Override // o.InterfaceC9070dcl
public final void A() {
this.tvECommerceRemark.setText(getString(R.string.lock_e_commerce_remark));
}
@Override // o.InterfaceC9070dcl
public final void C() {
this.tvECommerceRemark.setText(getString(R.string.lock_e_commerce_error_remark));
}
@OnCheckedChanged
public void onBlockDomesticToggleChanged(CompoundButton compoundButton, boolean z) {
if (compoundButton.isPressed()) {
compoundButton.setChecked(!z);
C2906anT c2906anT = this.settingTabPresenter;
ZI.IeS ieS = new ZI.IeS(this.c) { // from class: o.aof
private C0367Fb d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.f(this.d, (InterfaceC9070dcl) obj);
}
{
this.d = r1;
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
}
}
@OnCheckedChanged
public void onBlockInternationalToggleChanged(CompoundButton compoundButton, boolean z) {
if (compoundButton.isPressed()) {
compoundButton.setChecked(!z);
C2906anT c2906anT = this.settingTabPresenter;
ZI.IeS ieS = new ZI.IeS(this.c) { // from class: o.aoa
private C0367Fb c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.g(this.c, (InterfaceC9070dcl) obj);
}
{
this.c = r1;
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
}
}
@Override // o.InterfaceC9070dcl
public final void D() {
FragmentActivity activity;
C10763eOA c10763eOA = new C10763eOA(this, getString(R.string.block_domestic_title), getString(R.string.block_domestic_message), "creditcard_lock_ecom_domestic", !this.switchBlockDomestic.isChecked(), this.switchBlockInternational.isChecked(), "ONSHORE");
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
c10763eOA.c(activity);
}
@Override // o.InterfaceC9070dcl
public final void M() {
c(getString(R.string.unlock_domestic_title), getString(R.string.unlock_domestic_message), !this.switchBlockDomestic.isChecked(), this.switchBlockInternational.isChecked(), "ONSHORE", "creditcard_unlock_ecom_domestic");
}
@Override // o.InterfaceC9070dcl
public final void z() {
FragmentActivity activity;
C10763eOA c10763eOA = new C10763eOA(this, getString(R.string.block_international_title), getString(R.string.block_international_message), "creditcard_lock_ecom_inter", this.switchBlockDomestic.isChecked(), !this.switchBlockInternational.isChecked(), "OFFSHORE");
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
c10763eOA.c(activity);
}
@Override // o.InterfaceC9070dcl
public final void J() {
c(getString(R.string.unlock_international_title), getString(R.string.unlock_international_message), this.switchBlockDomestic.isChecked(), !this.switchBlockInternational.isChecked(), "OFFSHORE", "creditcard_unlock_ecom_inter");
}
private void c(String str, String str2, boolean z, boolean z2, String str3, String str4) {
FragmentActivity activity;
BaseFragment.HBt hBt = new BaseFragment.HBt(this, str, str2, str4, z, z2, str3) { // from class: o.eOI
private boolean a;
private String b;
private SettingTabFragment c;
private String d;
private String e;
private boolean f;
private String i;
@Override // com.scb.phone.view.fragment.BaseFragment.HBt
public final void c(Context context) {
SettingTabFragment.b(this.c, this.b, this.e, this.d, this.a, this.f, this.i, context);
}
{
this.c = this;
this.b = str;
this.e = str2;
this.d = str4;
this.a = z;
this.f = z2;
this.i = str3;
}
};
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
hBt.c(activity);
}
@Override // o.InterfaceC9070dcl
public final void d(C0435Gm c0435Gm, iJI iji) {
FragmentActivity activity;
BaseFragment.HBt hBt = new BaseFragment.HBt(this, iji, c0435Gm) { // from class: o.eOu
private iJI a;
private SettingTabFragment b;
private C0435Gm d;
@Override // com.scb.phone.view.fragment.BaseFragment.HBt
public final void c(Context context) {
SettingTabFragment.d(this.b, this.a, this.d, context);
}
{
this.b = this;
this.a = iji;
this.d = c0435Gm;
}
};
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
hBt.c(activity);
}
@Override // o.InterfaceC9070dcl
public final void b(C0435Gm c0435Gm) {
FragmentActivity activity;
BaseFragment.HBt hBt = new BaseFragment.HBt(this, c0435Gm) { // from class: o.eOD
private SettingTabFragment b;
private C0435Gm c;
@Override // com.scb.phone.view.fragment.BaseFragment.HBt
public final void c(Context context) {
SettingTabFragment.e(this.b, this.c, context);
}
{
this.b = this;
this.c = c0435Gm;
}
};
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
hBt.c(activity);
}
public static /* synthetic */ void d(SettingTabFragment settingTabFragment, iJI iji, C0435Gm c0435Gm, Context context) {
CustomDialog b = CustomDialog.b(context);
String str = iji.b;
if (gjJ.a(str)) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(str);
}
String str2 = iji.d;
if (gjJ.a(str2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(str2);
}
((CustomDialog) CustomDialog.e(new Object[]{b.aoT_(R.string.cdx_temp_limit_input_popup_confirm, new DialogInterface.OnClickListener(settingTabFragment, c0435Gm) { // from class: o.eOr
private SettingTabFragment a;
private C0435Gm c;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
SettingTabFragment.c(this.a, this.c);
}
{
this.a = settingTabFragment;
this.c = c0435Gm;
}
}), Integer.valueOf(R.string.cancel_error), new DialogInterface.OnClickListener() { // from class: o.eOq
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
}
}})).show();
}
public static /* synthetic */ void b(SettingTabFragment settingTabFragment, Context context) {
C0367Fb c0367Fb = settingTabFragment.c;
if (c0367Fb != null) {
context.startActivity(ExportCardStatementActivity.Zg_(context, c0367Fb));
}
}
public static /* synthetic */ void b(SettingTabFragment settingTabFragment, String str, boolean z, boolean z2, String str2) {
settingTabFragment.c(str, new pug[0]);
settingTabFragment.settingTabPresenter.e(z, z2, str2);
}
public static /* synthetic */ void c(SettingTabFragment settingTabFragment, boolean z) {
C2906anT c2906anT = settingTabFragment.settingTabPresenter;
String str = settingTabFragment.c.W;
String str2 = settingTabFragment.c.q;
C2908anV c2908anV = new C2908anV();
if (c2906anT.f != 0) {
c2908anV.e(c2906anT.f);
}
c2906anT.b.a(new smx((z ? DJv.UNLOCK : DJv.TEMP_LOCK).key, new C16498opz(str, str2, c2906anT.d)));
xZj xzj = c2906anT.b;
xzj.d(xzj.i, new C2906anT.LWm(c2906anT, (byte) 0));
}
public static /* synthetic */ void d(SettingTabFragment settingTabFragment, C0435Gm c0435Gm) {
Object[] objArr = {settingTabFragment.getActivity(), settingTabFragment.c, c0435Gm};
settingTabFragment.startActivityForResult((Intent) TempLimitHomeActivity.c(objArr), 101);
}
public static /* synthetic */ void c(SettingTabFragment settingTabFragment, String str, String str2, String str3, boolean z, boolean z2, String str4, Context context) {
CustomDialog b = CustomDialog.b(context);
if (gjJ.a(str)) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(str);
}
if (gjJ.a(str2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(str2);
}
CustomDialog customDialog = (CustomDialog) CustomDialog.e(new Object[]{b.aoT_(R.string.confirm, new DialogInterface.OnClickListener(settingTabFragment, str3, z, z2, str4) { // from class: o.eOG
private String a;
private String b;
private SettingTabFragment c;
private boolean d;
private boolean e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
SettingTabFragment.b(this.c, this.b, this.e, this.d, this.a);
}
{
this.c = settingTabFragment;
this.b = str3;
this.e = z;
this.d = z2;
this.a = str4;
}
}), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener() { // from class: o.eOJ
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
}
}});
customDialog.setCancelable(false);
customDialog.show();
}
public static /* synthetic */ void d(SettingTabFragment settingTabFragment, String str, boolean z, boolean z2, String str2) {
settingTabFragment.c(str, new pug[0]);
settingTabFragment.settingTabPresenter.e(z, z2, str2);
}
public static /* synthetic */ void b(SettingTabFragment settingTabFragment, String str, String str2, String str3, boolean z, boolean z2, String str4, Context context) {
CustomDialog b = CustomDialog.b(context);
if (gjJ.a(str)) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(str);
}
if (gjJ.a(str2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(str2);
}
CustomDialog customDialog = (CustomDialog) CustomDialog.e(new Object[]{b.aoT_(R.string.unblock, new DialogInterface.OnClickListener(settingTabFragment, str3, z, z2, str4) { // from class: o.eOB
private String a;
private SettingTabFragment b;
private String c;
private boolean d;
private boolean e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
SettingTabFragment.d(this.b, this.a, this.e, this.d, this.c);
}
{
this.b = settingTabFragment;
this.a = str3;
this.e = z;
this.d = z2;
this.c = str4;
}
}), Integer.valueOf(R.string.cancel_e_commerce), new DialogInterface.OnClickListener() { // from class: o.eOC
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
}
}});
customDialog.setCancelable(false);
customDialog.show();
}
public static /* synthetic */ void e(SettingTabFragment settingTabFragment, C0435Gm c0435Gm, Context context) {
CustomDialog b = CustomDialog.b(context);
String str = c0435Gm.h.d;
if (gjJ.a(str)) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(str);
}
String str2 = c0435Gm.h.b;
if (gjJ.a(str2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(str2);
}
((CustomDialog) CustomDialog.e(new Object[]{b.aoT_(R.string.cdx_temp_limit_input_popup_confirm, new DialogInterface.OnClickListener(settingTabFragment, c0435Gm) { // from class: o.eOy
private C0435Gm a;
private SettingTabFragment e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
SettingTabFragment.d(this.e, this.a);
}
{
this.e = settingTabFragment;
this.a = c0435Gm;
}
}), Integer.valueOf(R.string.cancel_error), new DialogInterface.OnClickListener() { // from class: o.eOv
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
}
}})).show();
}
public static /* synthetic */ void c(SettingTabFragment settingTabFragment, C0435Gm c0435Gm) {
C2906anT c2906anT = settingTabFragment.settingTabPresenter;
C2904anR c2904anR = new C2904anR(c0435Gm);
if (c2906anT.f != 0) {
c2904anR.e(c2906anT.f);
}
}
public final void K() {
char c;
this.settingTabPresenter.d = this.c.g;
C2906anT c2906anT = this.settingTabPresenter;
String str = this.c.u;
int hashCode = str.hashCode();
if (hashCode == -1986416409) {
if (str.equals("NORMAL")) {
c = 0;
}
c = 65535;
} else if (hashCode != -1961214910) {
if (hashCode == 63294573 && str.equals("BLOCK")) {
c = 2;
}
c = 65535;
} else {
if (str.equals("TEMP_BLOCK")) {
c = 1;
}
c = 65535;
}
if (c == 0) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.anY
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).a(false);
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
} else if (c == 1) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aon
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).a(true);
}
};
if (c2906anT.f != 0) {
ieS2.e(c2906anT.f);
}
} else {
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.aou
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).H();
}
};
if (c2906anT.f != 0) {
ieS3.e(c2906anT.f);
}
}
C2906anT c2906anT2 = this.settingTabPresenter;
ZI.IeS ieS4 = new ZI.IeS(c2906anT2, this.c) { // from class: o.aot
private C2906anT a;
private C0367Fb d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.a(this.d, (InterfaceC9070dcl) obj);
}
{
this.a = c2906anT2;
this.d = r2;
}
};
if (c2906anT2.f != 0) {
ieS4.e(c2906anT2.f);
}
ViewGroup viewGroup = this.layoutTempLimitIncrease;
if (viewGroup != null) {
viewGroup.setVisibility(8);
}
j(false);
i(false);
C2906anT c2906anT3 = this.settingTabPresenter;
C0367Fb c0367Fb = this.c;
ZI.IeS ieS5 = new ZI.IeS(c2906anT3, c0367Fb) { // from class: o.aoI
private C0367Fb a;
private C2906anT e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.c(this.e, this.a, (InterfaceC9070dcl) obj);
}
{
this.e = c2906anT3;
this.a = c0367Fb;
}
};
if (c2906anT3.f != 0) {
ieS5.e(c2906anT3.f);
}
ZI.IeS ieS6 = new ZI.IeS(c0367Fb) { // from class: o.aol
private C0367Fb d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.d(this.d, (InterfaceC9070dcl) obj);
}
{
this.d = c0367Fb;
}
};
if (c2906anT3.f != 0) {
ieS6.e(c2906anT3.f);
}
ZI.IeS ieS7 = new ZI.IeS(c0367Fb) { // from class: o.aov
private C0367Fb e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.c(this.e, (InterfaceC9070dcl) obj);
}
{
this.e = c0367Fb;
}
};
if (c2906anT3.f != 0) {
ieS7.e(c2906anT3.f);
}
ZI.IeS ieS8 = new ZI.IeS(c0367Fb) { // from class: o.aor
private C0367Fb e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C0367Fb c0367Fb2 = this.e;
((InterfaceC9070dcl) obj).f(r0 != null && r0.ad);
}
{
this.e = c0367Fb;
}
};
if (c2906anT3.f != 0) {
ieS8.e(c2906anT3.f);
}
ZI.IeS ieS9 = new ZI.IeS(c0367Fb) { // from class: o.aoG
private C0367Fb b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C0367Fb c0367Fb2 = this.b;
((InterfaceC9070dcl) obj).h(r0 != null && r0.ae);
}
{
this.b = c0367Fb;
}
};
if (c2906anT3.f != 0) {
ieS9.e(c2906anT3.f);
}
if (c0367Fb != null) {
if (!c0367Fb.c.contains("ECOMMERCE_LOCK_UNLOCK") || !"NORMAL".equals(c0367Fb.u)) {
ZI.IeS ieS10 = new ZI.IeS() { // from class: o.aob
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).b();
}
};
if (c2906anT3.f != 0) {
ieS10.e(c2906anT3.f);
}
} else {
ZI.IeS ieS11 = new ZI.IeS(c2906anT3, c0367Fb.b, c0367Fb.a) { // from class: o.aok
private C2906anT b;
private String c;
private String d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.d(this.c, this.d, (InterfaceC9070dcl) obj);
}
{
this.b = c2906anT3;
this.c = r2;
this.d = r3;
}
};
if (c2906anT3.f != 0) {
ieS11.e(c2906anT3.f);
}
}
}
if (c0367Fb != null) {
if (c0367Fb.c.contains("CARDX_DEEPLINK_TEMP_CARD_LOCK") && c0367Fb.k != null && !c0367Fb.k.isEmpty()) {
ZI.IeS ieS12 = new ZI.IeS() { // from class: o.aos
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).c();
}
};
if (c2906anT3.f != 0) {
ieS12.e(c2906anT3.f);
}
} else {
ZI.IeS ieS13 = new ZI.IeS() { // from class: o.aoq
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).a();
}
};
if (c2906anT3.f != 0) {
ieS13.e(c2906anT3.f);
}
}
}
if (c0367Fb != null) {
ZI.IeS ieS14 = new ZI.IeS(c2906anT3, c0367Fb) { // from class: o.anZ
private C2906anT b;
private C0367Fb e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.b(this.e, (InterfaceC9070dcl) obj);
}
{
this.b = c2906anT3;
this.e = c0367Fb;
}
};
if (c2906anT3.f != 0) {
ieS14.e(c2906anT3.f);
}
}
}
@OnClick
public void handleClickOfDeejungTransfer() {
C2906anT c2906anT = this.settingTabPresenter;
boolean z = this.c.J;
if (c2906anT.a.d()) {
c2906anT.b(z);
return;
}
ZI.IeS ieS = new ZI.IeS(c2906anT, z) { // from class: o.aoE
private C2906anT a;
private boolean d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2906anT.a(this.a, this.d, (InterfaceC9070dcl) obj);
}
{
this.a = c2906anT;
this.d = z;
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
}
@OnClick
public void handleClickOfTempCardLock() {
C2906anT c2906anT = this.settingTabPresenter;
C0367Fb c0367Fb = this.c;
if (!c0367Fb.c.contains("CARDX_DEEPLINK_TEMP_CARD_LOCK") || c0367Fb.k == null || c0367Fb.k.isEmpty()) {
return;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.aop
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).m();
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
c2906anT.a(c0367Fb.k);
}
@OnClick
public void handleClickingOfEStatement() {
C2906anT c2906anT = this.settingTabPresenter;
C0367Fb c0367Fb = this.c;
if (c0367Fb.c.contains("CARDX_DEEPLINK_REQUEST_STATEMENT") && c0367Fb.l != null && !c0367Fb.l.isEmpty()) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.aow
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).r();
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
c2906anT.a(c0367Fb.l);
return;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aoi
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).w();
}
};
if (c2906anT.f != 0) {
ieS2.e(c2906anT.f);
}
if (c2906anT.a.d()) {
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.aoc
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).F();
}
};
if (c2906anT.f != 0) {
ieS3.e(c2906anT.f);
return;
}
return;
}
ZI.IeS ieS4 = new ZI.IeS(c2906anT) { // from class: o.aoe
private C2906anT a;
@Override // o.ZI.IeS
public final void e(Object obj) {
r2.b(new InterfaceC9070dcl.HBt(this.a, (InterfaceC9070dcl) obj) { // from class: o.anT.2
private C2906anT b;
private InterfaceC9070dcl c;
{
this.b = r1;
this.c = r2;
}
@Override // o.InterfaceC9070dcl.HBt
public final void b() {
this.c.k();
}
@Override // o.InterfaceC9070dcl.HBt
public final void a() {
this.c.h();
this.c.B();
}
});
}
{
this.a = c2906anT;
}
};
if (c2906anT.f != 0) {
ieS4.e(c2906anT.f);
}
}
@OnClick
public void handleClickingOfStatementChannel() {
C2906anT c2906anT = this.settingTabPresenter;
C0367Fb c0367Fb = this.c;
if (c0367Fb.c.contains("CARDX_DEEPLINK_MANAGE_STATEMENT") && c0367Fb.n != null && !c0367Fb.n.isEmpty()) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.aom
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).s();
}
};
if (c2906anT.f != 0) {
ieS.e(c2906anT.f);
}
c2906anT.a(c0367Fb.n);
return;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aoo
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9070dcl) obj).i();
}
};
if (c2906anT.f != 0) {
ieS2.e(c2906anT.f);
}
}
@OnClick
public void handleReloadECommerce() {
C2906anT c2906anT = this.settingTabPresenter;
if (c2906anT.f != 0) {
c2906anT.f.y();
}
c2906anT.e.b(new C2906anT.AnonymousClass5(c2906anT), new C6862cdS.LWm(new vSV(c2906anT.g, c2906anT.d)), c2906anT.c);
}
@Override // o.InterfaceC9070dcl
public final void o() {
HBt hBt = this.d;
String str = this.c.g;
hBt.j();
}
@Override // o.InterfaceC9070dcl
public final void j(boolean z) {
String string;
if (this.layoutDeejungInstallments != null) {
TextView textView = this.tvDeejungInstallments;
C2906anT c2906anT = this.settingTabPresenter;
if (this.c.K) {
string = c2906anT.i.getString(C15715hv.tOB.new_deejung_installment);
} else {
string = c2906anT.i.getString(C15715hv.tOB.deejung_installment);
}
textView.setText(string);
this.layoutDeejungInstallments.setVisibility(z ? 0 : 8);
}
}
@Override // o.InterfaceC9070dcl
public final void i(boolean z) {
String string;
if (this.layoutDeejungTransfer != null) {
TextView textView = this.tvDeejungTransferLabel;
C2906anT c2906anT = this.settingTabPresenter;
if (this.c.J) {
string = c2906anT.i.getString(C15715hv.tOB.new_deejung_transfer);
} else {
string = c2906anT.i.getString(C15715hv.tOB.deejung_transfer);
}
textView.setText(string);
this.layoutDeejungTransfer.setVisibility(z ? 0 : 8);
}
}
@Override // o.InterfaceC9070dcl
public final void b(String str, String str2) {
if (this.d != null) {
this.c.b = str;
this.c.a = str2;
this.d.d(this.c);
}
}
@Override // o.InterfaceC9070dcl
public final void a(InterfaceC9070dcl.HBt hBt) {
FragmentActivity activity;
C10790eOs c10790eOs = new C10790eOs(R.string.ccr_email_verification_body, hBt);
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
c10790eOs.c(activity);
}
@Override // o.InterfaceC9070dcl
public final void a(InterfaceC9070dcl.HBt hBt, int i) {
FragmentActivity activity;
C10790eOs c10790eOs = new C10790eOs(i, hBt);
if (!isAdded() || (activity = getActivity()) == null) {
return;
}
c10790eOs.c(activity);
}
}