129 lines
4.3 KiB
Java
129 lines
4.3 KiB
Java
|
package com.scb.phone.view.fragment.debitatm;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.ContextWrapper;
|
||
|
import android.os.Bundle;
|
||
|
import android.view.LayoutInflater;
|
||
|
import androidx.fragment.app.DialogFragment;
|
||
|
import o.C13055fPb;
|
||
|
import o.C13068fPo;
|
||
|
import o.C13072fPs;
|
||
|
import o.C13079fPz;
|
||
|
import o.VLM;
|
||
|
import o.fOV;
|
||
|
import o.fPA;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public abstract class Hilt_DebitCardVirtualDetailFragment extends DialogFragment implements fPA {
|
||
|
private volatile C13072fPs b;
|
||
|
private boolean d;
|
||
|
private ContextWrapper e;
|
||
|
private final Object c = new Object();
|
||
|
private boolean a = false;
|
||
|
|
||
|
@Override // androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
|
||
|
public void onAttach(Context context) {
|
||
|
super.onAttach(context);
|
||
|
e();
|
||
|
if (this.a) {
|
||
|
return;
|
||
|
}
|
||
|
this.a = true;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:13:0x0021 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:19:0x0034 */
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public void onAttach(android.app.Activity r5) {
|
||
|
/*
|
||
|
r4 = this;
|
||
|
super.onAttach(r5)
|
||
|
android.content.ContextWrapper r0 = r4.e
|
||
|
r1 = 0
|
||
|
r2 = 1
|
||
|
if (r0 == 0) goto L1c
|
||
|
L9:
|
||
|
boolean r3 = r0 instanceof android.content.ContextWrapper
|
||
|
if (r3 == 0) goto L18
|
||
|
boolean r3 = r0 instanceof android.app.Activity
|
||
|
if (r3 != 0) goto L18
|
||
|
android.content.ContextWrapper r0 = (android.content.ContextWrapper) r0
|
||
|
android.content.Context r0 = r0.getBaseContext()
|
||
|
goto L9
|
||
|
L18:
|
||
|
if (r0 == r5) goto L1c
|
||
|
r5 = r1
|
||
|
goto L1d
|
||
|
L1c:
|
||
|
r5 = r2
|
||
|
L1d:
|
||
|
java.lang.Object[] r0 = new java.lang.Object[r1]
|
||
|
if (r5 == 0) goto L34
|
||
|
r4.e()
|
||
|
boolean r5 = r4.a
|
||
|
if (r5 != 0) goto L33
|
||
|
r4.a = r2
|
||
|
java.lang.Object r5 = r4.y_()
|
||
|
o.ePQ r5 = (o.ePQ) r5
|
||
|
r5 = r4
|
||
|
com.scb.phone.view.fragment.debitatm.DebitCardVirtualDetailFragment r5 = (com.scb.phone.view.fragment.debitatm.DebitCardVirtualDetailFragment) r5
|
||
|
L33:
|
||
|
return
|
||
|
L34:
|
||
|
java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
|
||
|
java.lang.String r1 = "onAttach called multiple times with different Context! Hilt Fragments should not be retained."
|
||
|
java.lang.String r0 = java.lang.String.format(r1, r0)
|
||
|
r5.<init>(r0)
|
||
|
throw r5
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.debitatm.Hilt_DebitCardVirtualDetailFragment.onAttach(android.app.Activity):void");
|
||
|
}
|
||
|
|
||
|
private void e() {
|
||
|
if (this.e == null) {
|
||
|
this.e = new C13079fPz.LWm(super.getContext(), this);
|
||
|
this.d = C13055fPb.d(super.getContext());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public Context getContext() {
|
||
|
if (super.getContext() == null && !this.d) {
|
||
|
return null;
|
||
|
}
|
||
|
e();
|
||
|
return this.e;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
|
||
|
public LayoutInflater onGetLayoutInflater(Bundle bundle) {
|
||
|
LayoutInflater onGetLayoutInflater = super.onGetLayoutInflater(bundle);
|
||
|
return onGetLayoutInflater.cloneInContext(new C13079fPz.LWm(onGetLayoutInflater, this));
|
||
|
}
|
||
|
|
||
|
@Override // o.fPC
|
||
|
public final Object y_() {
|
||
|
return a().y_();
|
||
|
}
|
||
|
|
||
|
private C13072fPs a() {
|
||
|
if (this.b == null) {
|
||
|
synchronized (this.c) {
|
||
|
if (this.b == null) {
|
||
|
this.b = new C13072fPs(this);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return this.b;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment, o.GvH
|
||
|
public VLM.LWm getDefaultViewModelProviderFactory() {
|
||
|
return ((C13068fPo.RVV) fOV.c(this, C13068fPo.RVV.class)).a().aBN_(this, getArguments(), super.getDefaultViewModelProviderFactory());
|
||
|
}
|
||
|
}
|