99 lines
3.8 KiB
Java
99 lines
3.8 KiB
Java
|
package com.scb.phone.view.fragment.transferandpay;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.ContextWrapper;
|
||
|
import android.os.Bundle;
|
||
|
import android.view.LayoutInflater;
|
||
|
import o.C13055fPb;
|
||
|
import o.C13079fPz;
|
||
|
import o.fCP;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public abstract class Hilt_BaseTargetSelectedFragment extends BaseDuplicatedTransferFragment {
|
||
|
private ContextWrapper c;
|
||
|
private boolean d;
|
||
|
private boolean g = false;
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.transferandpay.Hilt_BaseDuplicatedTransferFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment
|
||
|
public void onAttach(Context context) {
|
||
|
super.onAttach(context);
|
||
|
o();
|
||
|
ae();
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:13:0x0020 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:16:0x0027 */
|
||
|
@Override // com.scb.phone.view.fragment.transferandpay.Hilt_BaseDuplicatedTransferFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, 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 r4) {
|
||
|
/*
|
||
|
r3 = this;
|
||
|
super.onAttach(r4)
|
||
|
android.content.ContextWrapper r0 = r3.c
|
||
|
r1 = 0
|
||
|
if (r0 == 0) goto L1b
|
||
|
L8:
|
||
|
boolean r2 = r0 instanceof android.content.ContextWrapper
|
||
|
if (r2 == 0) goto L17
|
||
|
boolean r2 = r0 instanceof android.app.Activity
|
||
|
if (r2 != 0) goto L17
|
||
|
android.content.ContextWrapper r0 = (android.content.ContextWrapper) r0
|
||
|
android.content.Context r0 = r0.getBaseContext()
|
||
|
goto L8
|
||
|
L17:
|
||
|
if (r0 == r4) goto L1b
|
||
|
r4 = r1
|
||
|
goto L1c
|
||
|
L1b:
|
||
|
r4 = 1
|
||
|
L1c:
|
||
|
java.lang.Object[] r0 = new java.lang.Object[r1]
|
||
|
if (r4 == 0) goto L27
|
||
|
r3.o()
|
||
|
r3.ae()
|
||
|
return
|
||
|
L27:
|
||
|
java.lang.IllegalStateException r4 = 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)
|
||
|
r4.<init>(r0)
|
||
|
throw r4
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.transferandpay.Hilt_BaseTargetSelectedFragment.onAttach(android.app.Activity):void");
|
||
|
}
|
||
|
|
||
|
private void o() {
|
||
|
if (this.c == null) {
|
||
|
this.c = new C13079fPz.LWm(super.getContext(), this);
|
||
|
this.d = C13055fPb.d(super.getContext());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.transferandpay.Hilt_BaseDuplicatedTransferFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment
|
||
|
public Context getContext() {
|
||
|
if (super.getContext() == null && !this.d) {
|
||
|
return null;
|
||
|
}
|
||
|
o();
|
||
|
return this.c;
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.transferandpay.Hilt_BaseDuplicatedTransferFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment
|
||
|
public LayoutInflater onGetLayoutInflater(Bundle bundle) {
|
||
|
LayoutInflater onGetLayoutInflater = super.onGetLayoutInflater(bundle);
|
||
|
return onGetLayoutInflater.cloneInContext(new C13079fPz.LWm(onGetLayoutInflater, this));
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.transferandpay.Hilt_BaseDuplicatedTransferFragment, com.scb.phone.view.fragment.Hilt_BaseFragment
|
||
|
public void ae() {
|
||
|
if (this.g) {
|
||
|
return;
|
||
|
}
|
||
|
this.g = true;
|
||
|
((fCP) y_()).e((BaseTargetSelectedFragment) this);
|
||
|
}
|
||
|
}
|