94 lines
3.6 KiB
Java
94 lines
3.6 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import androidx.fragment.app.Fragment;
|
||
|
import com.scb.phone.view.activity.bot.BotContactScbActivity;
|
||
|
import java.lang.ref.WeakReference;
|
||
|
import o.AbstractC9222dfe;
|
||
|
|
||
|
/* renamed from: o.eEi, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C10448eEi implements InterfaceC9164deZ {
|
||
|
private final WeakReference<Fragment> c;
|
||
|
private final huo<MC> d;
|
||
|
|
||
|
private C10448eEi(Fragment fragment, final InterfaceC14894gbR<? super Boolean, C14866gag> interfaceC14894gbR, final InterfaceC14890gbN<C14866gag> interfaceC14890gbN) {
|
||
|
C14957gcv.e(fragment, "");
|
||
|
C14957gcv.e(interfaceC14894gbR, "");
|
||
|
C14957gcv.e(interfaceC14890gbN, "");
|
||
|
this.c = new WeakReference<>(fragment);
|
||
|
huo<MC> registerForActivityResult = fragment.registerForActivityResult(new C9968dtr(), new InterfaceC0834Plv(interfaceC14894gbR, interfaceC14890gbN) { // from class: o.eEm
|
||
|
private InterfaceC14890gbN a;
|
||
|
private InterfaceC14894gbR e;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
InterfaceC14894gbR interfaceC14894gbR2 = this.e;
|
||
|
InterfaceC14890gbN interfaceC14890gbN2 = this.a;
|
||
|
AbstractC9222dfe abstractC9222dfe = (AbstractC9222dfe) obj;
|
||
|
C14957gcv.e(interfaceC14894gbR2, "");
|
||
|
C14957gcv.e(interfaceC14890gbN2, "");
|
||
|
if (abstractC9222dfe instanceof AbstractC9222dfe.Sts) {
|
||
|
interfaceC14894gbR2.invoke(Boolean.valueOf(((AbstractC9222dfe.Sts) abstractC9222dfe).b));
|
||
|
} else if (C14957gcv.b(abstractC9222dfe, AbstractC9222dfe.HBt.d)) {
|
||
|
interfaceC14890gbN2.invoke();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = interfaceC14894gbR;
|
||
|
this.a = interfaceC14890gbN;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult, "");
|
||
|
this.d = registerForActivityResult;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.eEi$1, reason: invalid class name */
|
||
|
/* loaded from: classes5.dex */
|
||
|
static final class AnonymousClass1 extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
|
||
|
public static final AnonymousClass1 a = new AnonymousClass1();
|
||
|
|
||
|
@Override // o.InterfaceC14890gbN
|
||
|
public final /* bridge */ /* synthetic */ C14866gag invoke() {
|
||
|
return C14866gag.c;
|
||
|
}
|
||
|
|
||
|
AnonymousClass1() {
|
||
|
super(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
|
||
|
public C10448eEi(Fragment fragment, InterfaceC14894gbR<? super Boolean, C14866gag> interfaceC14894gbR) {
|
||
|
this(fragment, interfaceC14894gbR, AnonymousClass1.a);
|
||
|
C14957gcv.e(fragment, "");
|
||
|
C14957gcv.e(interfaceC14894gbR, "");
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9164deZ
|
||
|
public final void a(String str, String str2) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
Fragment fragment = this.c.get();
|
||
|
if (fragment != null) {
|
||
|
BotContactScbActivity.IeS ieS = BotContactScbActivity.b;
|
||
|
Context requireContext = fragment.requireContext();
|
||
|
C14957gcv.c(requireContext, "");
|
||
|
fragment.startActivity(BotContactScbActivity.IeS.YE_(requireContext, str, str2));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9164deZ
|
||
|
public final void a() {
|
||
|
this.d.e();
|
||
|
this.c.clear();
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9164deZ
|
||
|
public final void e(MC mc) {
|
||
|
C14957gcv.e(mc, "");
|
||
|
this.d.d(mc, null);
|
||
|
}
|
||
|
}
|