730 lines
23 KiB
Java
730 lines
23 KiB
Java
|
package com.scb.phone.view.fragment.personallimit;
|
||
|
|
||
|
import android.content.ActivityNotFoundException;
|
||
|
import android.content.Context;
|
||
|
import android.content.DialogInterface;
|
||
|
import android.content.Intent;
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.net.Uri;
|
||
|
import android.os.Bundle;
|
||
|
import android.util.Base64;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.LinearLayout;
|
||
|
import android.widget.TextView;
|
||
|
import androidx.core.widget.NestedScrollView;
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||
|
import androidx.recyclerview.widget.RecyclerView;
|
||
|
import butterknife.BindView;
|
||
|
import butterknife.ButterKnife;
|
||
|
import com.huawei.hms.support.api.entity.common.CommonConstant;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.activity.BaseActivity;
|
||
|
import com.scb.phone.view.activity.PreLoadCheckActivity;
|
||
|
import com.scb.phone.view.activity.bot.BotContactScbActivity;
|
||
|
import com.scb.phone.view.activity.debitatm.DebitWithdrawalLimitActivity;
|
||
|
import com.scb.phone.view.activity.facialrecognition.BotCommonFacialRecognitionLandingActivity;
|
||
|
import com.scb.phone.view.activity.splash.SplashActivity;
|
||
|
import com.scb.phone.view.adapter.limit.DebitsLimitAdapter;
|
||
|
import com.scb.phone.view.custom.common.CustomDialog;
|
||
|
import com.scb.phone.view.fragment.BaseFragment;
|
||
|
import com.scb.phone.view.fragment.personallimit.PersonalLimitFragment;
|
||
|
import java.nio.charset.StandardCharsets;
|
||
|
import java.util.List;
|
||
|
import o.C0693Mj;
|
||
|
import o.C0917Rn;
|
||
|
import o.C0920Rp;
|
||
|
import o.C11560ehe;
|
||
|
import o.C12329ewE;
|
||
|
import o.C12914fKz;
|
||
|
import o.C14957gcv;
|
||
|
import o.EnumC8951daY;
|
||
|
import o.Heg;
|
||
|
import o.InterfaceC0834Plv;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.InterfaceC8956dad;
|
||
|
import o.MC;
|
||
|
import o.bOG;
|
||
|
import o.cZI;
|
||
|
import o.fIR;
|
||
|
import o.gHK;
|
||
|
import o.gjJ;
|
||
|
import o.guQ;
|
||
|
import o.huo;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class PersonalLimitFragment extends Hilt_PersonalLimitFragment implements cZI.RVV, fIR, DebitsLimitAdapter.HBt {
|
||
|
private static int l = 0;
|
||
|
private static byte n = 0;
|
||
|
private static int s = 1;
|
||
|
private InterfaceC8956dad f;
|
||
|
private huo<Intent> h;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public bOG limitPresenter;
|
||
|
|
||
|
@BindView
|
||
|
public LinearLayout llDebitCard;
|
||
|
|
||
|
@BindView
|
||
|
public LinearLayout llRemittance;
|
||
|
private huo<Intent> m;
|
||
|
|
||
|
@BindView
|
||
|
public RecyclerView rvBillPayment;
|
||
|
|
||
|
@BindView
|
||
|
public RecyclerView rvCardLess;
|
||
|
|
||
|
@BindView
|
||
|
public RecyclerView rvDebitCard;
|
||
|
|
||
|
@BindView
|
||
|
public RecyclerView rvPrepaid;
|
||
|
|
||
|
@BindView
|
||
|
public RecyclerView rvRemittance;
|
||
|
|
||
|
@BindView
|
||
|
public RecyclerView rvTopUp;
|
||
|
|
||
|
@BindView
|
||
|
public RecyclerView rvTransfer;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public SharedPreferences sharedPreferences;
|
||
|
|
||
|
@BindView
|
||
|
public NestedScrollView svPersonalLimit;
|
||
|
|
||
|
@BindView
|
||
|
public TextView tvCardLessTitle;
|
||
|
|
||
|
@BindView
|
||
|
public TextView tvPrepaidTitle;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private C12329ewE f8061o = new C12329ewE();
|
||
|
private C12329ewE j = new C12329ewE();
|
||
|
private C12329ewE c = new C12329ewE();
|
||
|
private C12329ewE k = new C12329ewE();
|
||
|
private C12329ewE d = new C12329ewE();
|
||
|
private C12329ewE i = new C12329ewE();
|
||
|
private DebitsLimitAdapter g = new DebitsLimitAdapter();
|
||
|
|
||
|
private void p(String str, Object[] objArr) {
|
||
|
byte[] decode = Base64.decode(str, 0);
|
||
|
byte[] bArr = new byte[decode.length];
|
||
|
for (int i = 0; i < decode.length; i++) {
|
||
|
bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ n);
|
||
|
}
|
||
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
C14957gcv.e(layoutInflater, "");
|
||
|
View inflate = layoutInflater.inflate(R.layout.2131559809, viewGroup, false);
|
||
|
((BaseFragment) this).a = ButterKnife.c(this, inflate);
|
||
|
super.aa();
|
||
|
Y();
|
||
|
u(getString(R.string.limit_title));
|
||
|
huo<Intent> registerForActivityResult = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fsb
|
||
|
private PersonalLimitFragment d;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
PersonalLimitFragment.b(this.d, (Heg) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult, "");
|
||
|
this.h = registerForActivityResult;
|
||
|
huo<Intent> registerForActivityResult2 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fsi
|
||
|
private PersonalLimitFragment c;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
PersonalLimitFragment.d(this.c, (Heg) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult2, "");
|
||
|
this.m = registerForActivityResult2;
|
||
|
bOG bog = this.limitPresenter;
|
||
|
if (bog == null) {
|
||
|
C14957gcv.a("");
|
||
|
bog = null;
|
||
|
}
|
||
|
bog.e((bOG) this);
|
||
|
bOG.e(new Object[]{bog, Boolean.valueOf(gHK.JURISTIC == (getActivity() instanceof PreLoadCheckActivity ? ((PreLoadCheckActivity) getActivity()).al() : null))}, 1394116701, -1394116693, System.identityHashCode(bog));
|
||
|
return inflate;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
@Override // com.scb.phone.view.fragment.personallimit.Hilt_PersonalLimitFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment
|
||
|
public final void onAttach(Context context) {
|
||
|
C14957gcv.e(context, "");
|
||
|
super.onAttach(context);
|
||
|
if (context instanceof InterfaceC8956dad) {
|
||
|
this.f = (InterfaceC8956dad) context;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment
|
||
|
public final void aa() {
|
||
|
super.aa();
|
||
|
Y();
|
||
|
u(getString(R.string.limit_title));
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public final void onActivityCreated(Bundle bundle) {
|
||
|
super.onActivityCreated(bundle);
|
||
|
bOG bog = this.limitPresenter;
|
||
|
if (bog == null) {
|
||
|
C14957gcv.a("");
|
||
|
bog = null;
|
||
|
}
|
||
|
bog.d();
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void g() {
|
||
|
d(R.string.limit_success_change, EnumC8951daY.SUCCESS);
|
||
|
bOG bog = this.limitPresenter;
|
||
|
if (bog == null) {
|
||
|
C14957gcv.a("");
|
||
|
bog = null;
|
||
|
}
|
||
|
bog.d();
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void j(List<? extends C0920Rp> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
C12329ewE c12329ewE = this.k;
|
||
|
RecyclerView recyclerView = this.rvTransfer;
|
||
|
if (recyclerView == null) {
|
||
|
C14957gcv.a("");
|
||
|
recyclerView = null;
|
||
|
}
|
||
|
a(list, c12329ewE, recyclerView);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void d(List<C0917Rn> list, boolean z) {
|
||
|
C14957gcv.e(list, "");
|
||
|
RecyclerView recyclerView = this.rvDebitCard;
|
||
|
LinearLayout linearLayout = null;
|
||
|
if (recyclerView == null) {
|
||
|
C14957gcv.a("");
|
||
|
recyclerView = null;
|
||
|
}
|
||
|
recyclerView.getContext();
|
||
|
recyclerView.setLayoutManager(new LinearLayoutManager());
|
||
|
recyclerView.setAdapter(this.g);
|
||
|
recyclerView.setAlpha(z ? 1.0f : 0.5f);
|
||
|
DebitsLimitAdapter debitsLimitAdapter = this.g;
|
||
|
debitsLimitAdapter.b = list;
|
||
|
debitsLimitAdapter.notifyDataSetChanged();
|
||
|
debitsLimitAdapter.c = z ? this : null;
|
||
|
LinearLayout linearLayout2 = this.llDebitCard;
|
||
|
if (linearLayout2 != null) {
|
||
|
linearLayout = linearLayout2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
LinearLayout linearLayout3 = linearLayout;
|
||
|
C14957gcv.e(linearLayout3, "");
|
||
|
linearLayout3.setVisibility(0);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void a(String str, String str2, final String str3) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
C14957gcv.e(str3, "");
|
||
|
CustomDialog b = CustomDialog.b(getContext());
|
||
|
b.setCancelable(false);
|
||
|
if (gjJ.a(str)) {
|
||
|
b.mTitleTextView.setVisibility(0);
|
||
|
b.mTitleTextView.setText(str);
|
||
|
}
|
||
|
if (gjJ.a(str2)) {
|
||
|
b.mTextTextView.setVisibility(0);
|
||
|
b.mTextTextView.setText(str2);
|
||
|
}
|
||
|
b.aoU_(getString(R.string.ok), new DialogInterface.OnClickListener(this, str3) { // from class: o.fsg
|
||
|
private String c;
|
||
|
private PersonalLimitFragment e;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
PersonalLimitFragment.awF_(this.e, this.c, dialogInterface);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
this.c = str3;
|
||
|
}
|
||
|
}).show();
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void e(C0917Rn c0917Rn) {
|
||
|
C14957gcv.e(c0917Rn, "");
|
||
|
huo<Intent> huoVar = this.h;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
huoVar.d(DebitWithdrawalLimitActivity.aaY_(getContext(), c0917Rn), null);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void c(String str) {
|
||
|
C14957gcv.e(str, "");
|
||
|
v(str);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void j() {
|
||
|
if (!((Boolean) C12914fKz.e(new Object[]{getContext()}, -54286131, 54286144, (int) System.currentTimeMillis())).booleanValue()) {
|
||
|
d(R.string.must_be_connected_mobile_data, EnumC8951daY.ERROR);
|
||
|
return;
|
||
|
}
|
||
|
InterfaceC8956dad interfaceC8956dad = this.f;
|
||
|
if (interfaceC8956dad != null) {
|
||
|
interfaceC8956dad.c("OTP_MOBILE_LIST_FRAGMENT_TAG", null, null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void b(String str, String str2) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
BotContactScbActivity.IeS ieS = BotContactScbActivity.b;
|
||
|
startActivity(BotContactScbActivity.IeS.YE_(context, str, str2));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void b(MC mc) {
|
||
|
C14957gcv.e(mc, "");
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
huo<Intent> huoVar = this.m;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
BotCommonFacialRecognitionLandingActivity.LWm lWm = BotCommonFacialRecognitionLandingActivity.b;
|
||
|
huoVar.d(BotCommonFacialRecognitionLandingActivity.LWm.afq_(context, mc), null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.adapter.limit.DebitsLimitAdapter.HBt
|
||
|
public final void c(C0917Rn c0917Rn) {
|
||
|
C14957gcv.e(c0917Rn, "");
|
||
|
bOG bog = this.limitPresenter;
|
||
|
if (bog == null) {
|
||
|
C14957gcv.a("");
|
||
|
bog = null;
|
||
|
}
|
||
|
bog.c(c0917Rn);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void a(List<? extends C0920Rp> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
C12329ewE c12329ewE = this.d;
|
||
|
RecyclerView recyclerView = this.rvBillPayment;
|
||
|
if (recyclerView == null) {
|
||
|
C14957gcv.a("");
|
||
|
recyclerView = null;
|
||
|
}
|
||
|
a(list, c12329ewE, recyclerView);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void d(List<? extends C0920Rp> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
C12329ewE c12329ewE = this.j;
|
||
|
RecyclerView recyclerView = this.rvPrepaid;
|
||
|
if (recyclerView == null) {
|
||
|
C14957gcv.a("");
|
||
|
recyclerView = null;
|
||
|
}
|
||
|
a(list, c12329ewE, recyclerView);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void b(List<? extends C0920Rp> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
C12329ewE c12329ewE = this.f8061o;
|
||
|
RecyclerView recyclerView = this.rvTopUp;
|
||
|
if (recyclerView == null) {
|
||
|
C14957gcv.a("");
|
||
|
recyclerView = null;
|
||
|
}
|
||
|
a(list, c12329ewE, recyclerView);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void f() {
|
||
|
TextView textView = this.tvPrepaidTitle;
|
||
|
RecyclerView recyclerView = null;
|
||
|
if (textView == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView = null;
|
||
|
}
|
||
|
TextView textView2 = textView;
|
||
|
C14957gcv.e(textView2, "");
|
||
|
textView2.setVisibility(0);
|
||
|
RecyclerView recyclerView2 = this.rvPrepaid;
|
||
|
if (recyclerView2 != null) {
|
||
|
recyclerView = recyclerView2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
RecyclerView recyclerView3 = recyclerView;
|
||
|
C14957gcv.e(recyclerView3, "");
|
||
|
recyclerView3.setVisibility(0);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void c(List<? extends C0920Rp> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
C12329ewE c12329ewE = this.c;
|
||
|
RecyclerView recyclerView = this.rvCardLess;
|
||
|
if (recyclerView == null) {
|
||
|
C14957gcv.a("");
|
||
|
recyclerView = null;
|
||
|
}
|
||
|
a(list, c12329ewE, recyclerView);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void c() {
|
||
|
TextView textView = this.tvCardLessTitle;
|
||
|
RecyclerView recyclerView = null;
|
||
|
if (textView == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView = null;
|
||
|
}
|
||
|
TextView textView2 = textView;
|
||
|
C14957gcv.e(textView2, "");
|
||
|
textView2.setVisibility(8);
|
||
|
RecyclerView recyclerView2 = this.rvCardLess;
|
||
|
if (recyclerView2 != null) {
|
||
|
recyclerView = recyclerView2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
RecyclerView recyclerView3 = recyclerView;
|
||
|
C14957gcv.e(recyclerView3, "");
|
||
|
recyclerView3.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void b() {
|
||
|
LinearLayout linearLayout = this.llDebitCard;
|
||
|
if (linearLayout == null) {
|
||
|
C14957gcv.a("");
|
||
|
linearLayout = null;
|
||
|
}
|
||
|
LinearLayout linearLayout2 = linearLayout;
|
||
|
C14957gcv.e(linearLayout2, "");
|
||
|
linearLayout2.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void e(List<? extends C0920Rp> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
C12329ewE c12329ewE = this.i;
|
||
|
RecyclerView recyclerView = this.rvRemittance;
|
||
|
if (recyclerView == null) {
|
||
|
C14957gcv.a("");
|
||
|
recyclerView = null;
|
||
|
}
|
||
|
a(list, c12329ewE, recyclerView);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void e() {
|
||
|
LinearLayout linearLayout = this.llRemittance;
|
||
|
if (linearLayout == null) {
|
||
|
C14957gcv.a("");
|
||
|
linearLayout = null;
|
||
|
}
|
||
|
LinearLayout linearLayout2 = linearLayout;
|
||
|
C14957gcv.e(linearLayout2, "");
|
||
|
linearLayout2.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // o.fIR
|
||
|
public final void e(C0920Rp c0920Rp) {
|
||
|
C14957gcv.e(c0920Rp, "");
|
||
|
bOG bog = this.limitPresenter;
|
||
|
if (bog == null) {
|
||
|
C14957gcv.a("");
|
||
|
bog = null;
|
||
|
}
|
||
|
bOG.e(new Object[]{bog, c0920Rp}, 543716881, -543716875, System.identityHashCode(bog));
|
||
|
}
|
||
|
|
||
|
@Override // o.fIR
|
||
|
public final void h() {
|
||
|
aN_();
|
||
|
}
|
||
|
|
||
|
@Override // o.fIR
|
||
|
public final void d(C0920Rp c0920Rp) {
|
||
|
C14957gcv.e(c0920Rp, "");
|
||
|
bOG bog = this.limitPresenter;
|
||
|
if (bog == null) {
|
||
|
C14957gcv.a("");
|
||
|
bog = null;
|
||
|
}
|
||
|
bOG.e(new Object[]{bog, c0920Rp}, -2109117706, 2109117708, System.identityHashCode(bog));
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, o.InterfaceC6638cYp
|
||
|
public final void v() {
|
||
|
super.v();
|
||
|
NestedScrollView nestedScrollView = this.svPersonalLimit;
|
||
|
if (nestedScrollView == null) {
|
||
|
C14957gcv.a("");
|
||
|
nestedScrollView = null;
|
||
|
}
|
||
|
NestedScrollView nestedScrollView2 = nestedScrollView;
|
||
|
C14957gcv.e(nestedScrollView2, "");
|
||
|
nestedScrollView2.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, o.InterfaceC6638cYp
|
||
|
public final void aq_() {
|
||
|
super.aq_();
|
||
|
NestedScrollView nestedScrollView = this.svPersonalLimit;
|
||
|
if (nestedScrollView == null) {
|
||
|
C14957gcv.a("");
|
||
|
nestedScrollView = null;
|
||
|
}
|
||
|
NestedScrollView nestedScrollView2 = nestedScrollView;
|
||
|
C14957gcv.e(nestedScrollView2, "");
|
||
|
nestedScrollView2.setVisibility(0);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void d() {
|
||
|
NestedScrollView nestedScrollView = this.svPersonalLimit;
|
||
|
if (nestedScrollView == null) {
|
||
|
C14957gcv.a("");
|
||
|
nestedScrollView = null;
|
||
|
}
|
||
|
NestedScrollView nestedScrollView2 = nestedScrollView;
|
||
|
C14957gcv.e(nestedScrollView2, "");
|
||
|
nestedScrollView2.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public final void onDestroyView() {
|
||
|
huo<Intent> huoVar = this.h;
|
||
|
bOG bog = null;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
huoVar.e();
|
||
|
bOG bog2 = this.limitPresenter;
|
||
|
if (bog2 != null) {
|
||
|
bog = bog2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
bog.w_();
|
||
|
super.onDestroyView();
|
||
|
}
|
||
|
|
||
|
public final void d(int i, EnumC8951daY enumC8951daY) {
|
||
|
FragmentActivity activity;
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = l + 23;
|
||
|
s = i3 % 128;
|
||
|
if (i3 % 2 == 0) {
|
||
|
activity = getActivity();
|
||
|
int i4 = 40 / 0;
|
||
|
if (activity == null) {
|
||
|
return;
|
||
|
}
|
||
|
} else {
|
||
|
activity = getActivity();
|
||
|
if (activity == null) {
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
int i5 = s + 51;
|
||
|
l = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
activity.getString(i).startsWith(",*,)");
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
FragmentActivity fragmentActivity = activity;
|
||
|
String string = activity.getString(i);
|
||
|
if (string.startsWith(",*,)")) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
p(string.substring(4), objArr);
|
||
|
string = ((String) objArr[0]).intern();
|
||
|
int i6 = l + 17;
|
||
|
s = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
}
|
||
|
if (getActivity() != null) {
|
||
|
BaseActivity.a(new Object[]{(BaseActivity) getActivity(), fragmentActivity, Integer.valueOf(R.id.view_group_root), string, enumC8951daY}, 855668825, -855668822, R.id.view_group_root);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, o.InterfaceC6638cYp
|
||
|
public final void e(C0693Mj c0693Mj) {
|
||
|
C14957gcv.e(c0693Mj, "");
|
||
|
ar_();
|
||
|
super.e(c0693Mj);
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void a() {
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
activity.finish();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cZI.RVV
|
||
|
public final void i() {
|
||
|
CustomDialog b = CustomDialog.b(getContext());
|
||
|
String string = getString(R.string.personal_limit_exit_dialog_title);
|
||
|
if (gjJ.a(string)) {
|
||
|
b.mTitleTextView.setVisibility(0);
|
||
|
b.mTitleTextView.setText(string);
|
||
|
}
|
||
|
String string2 = getString(R.string.personal_limit_exit_dialog_body);
|
||
|
if (gjJ.a(string2)) {
|
||
|
b.mTextTextView.setVisibility(0);
|
||
|
b.mTextTextView.setText(string2);
|
||
|
}
|
||
|
b.aoU_(getString(R.string.personal_limit_exit_dialog_ok), new DialogInterface.OnClickListener(this) { // from class: o.fsf
|
||
|
private PersonalLimitFragment a;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
PersonalLimitFragment.d(this.a);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
}).aoO_(getString(R.string.personal_limit_exit_dialog_cancel), new DialogInterface.OnClickListener() { // from class: o.fse
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
dialogInterface.dismiss();
|
||
|
}
|
||
|
}).show();
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class Sts {
|
||
|
private Sts() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ Sts(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void awF_(PersonalLimitFragment personalLimitFragment, String str, DialogInterface dialogInterface) {
|
||
|
C14957gcv.e(personalLimitFragment, "");
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(dialogInterface, "");
|
||
|
dialogInterface.dismiss();
|
||
|
SplashActivity.b(new Object[]{personalLimitFragment.getContext()}, 1199803597, -1199803588, (int) System.currentTimeMillis());
|
||
|
try {
|
||
|
personalLimitFragment.startActivity(new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(str)));
|
||
|
} catch (ActivityNotFoundException e) {
|
||
|
guQ.e(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(PersonalLimitFragment personalLimitFragment) {
|
||
|
C14957gcv.e(personalLimitFragment, "");
|
||
|
FragmentActivity activity = personalLimitFragment.getActivity();
|
||
|
if (activity != null) {
|
||
|
activity.finish();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(PersonalLimitFragment personalLimitFragment, Heg heg) {
|
||
|
C14957gcv.e(personalLimitFragment, "");
|
||
|
C14957gcv.e(heg, "");
|
||
|
if (heg.e == -1) {
|
||
|
bOG bog = personalLimitFragment.limitPresenter;
|
||
|
if (bog == null) {
|
||
|
C14957gcv.a("");
|
||
|
bog = null;
|
||
|
}
|
||
|
bog.d();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(PersonalLimitFragment personalLimitFragment, Heg heg) {
|
||
|
C14957gcv.e(personalLimitFragment, "");
|
||
|
C14957gcv.e(heg, "");
|
||
|
if (-1 == heg.e) {
|
||
|
bOG bog = personalLimitFragment.limitPresenter;
|
||
|
if (bog == null) {
|
||
|
C14957gcv.a("");
|
||
|
bog = null;
|
||
|
}
|
||
|
bog.c();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private final void a(List<? extends C0920Rp> list, C12329ewE c12329ewE, RecyclerView recyclerView) {
|
||
|
if (c12329ewE.d.isEmpty()) {
|
||
|
C14957gcv.e(list, "");
|
||
|
c12329ewE.d = list;
|
||
|
c12329ewE.a = this;
|
||
|
recyclerView.getContext();
|
||
|
recyclerView.setLayoutManager(new LinearLayoutManager(1, false));
|
||
|
recyclerView.setAdapter(c12329ewE);
|
||
|
recyclerView.setHasFixedSize(true);
|
||
|
recyclerView.setNestedScrollingEnabled(false);
|
||
|
return;
|
||
|
}
|
||
|
C14957gcv.e(list, "");
|
||
|
c12329ewE.d = list;
|
||
|
c12329ewE.notifyDataSetChanged();
|
||
|
}
|
||
|
|
||
|
static void l() {
|
||
|
n = (byte) 6;
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
l();
|
||
|
new Sts((byte) 0);
|
||
|
}
|
||
|
}
|