62 lines
2.5 KiB
Java
62 lines
2.5 KiB
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import android.content.DialogInterface;
|
|
import android.webkit.SslErrorHandler;
|
|
import com.scb.phone.view.custom.common.CustomDialog;
|
|
|
|
/* renamed from: o.fLs, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C12941fLs {
|
|
InterfaceC12938fLp a;
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public final void aAA_(Context context, final SslErrorHandler sslErrorHandler) {
|
|
C14957gcv.e(context, "");
|
|
C14957gcv.e(sslErrorHandler, "");
|
|
if (context instanceof InterfaceC12938fLp) {
|
|
this.a = (InterfaceC12938fLp) context;
|
|
}
|
|
CustomDialog customDialog = (CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(context).c(com.scb.phone.R.string.ssl_error_title).d(com.scb.phone.R.string.ssl_error_message).aoT_(com.scb.phone.R.string.confirm, new DialogInterface.OnClickListener(sslErrorHandler) { // from class: o.fLq
|
|
private SslErrorHandler d;
|
|
|
|
@Override // android.content.DialogInterface.OnClickListener
|
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
|
SslErrorHandler sslErrorHandler2 = this.d;
|
|
C14957gcv.e(sslErrorHandler2, "");
|
|
sslErrorHandler2.proceed();
|
|
dialogInterface.dismiss();
|
|
}
|
|
|
|
{
|
|
this.d = sslErrorHandler;
|
|
}
|
|
}), Integer.valueOf(com.scb.phone.R.string.cancel), new DialogInterface.OnClickListener(sslErrorHandler, this) { // from class: o.fLt
|
|
private SslErrorHandler a;
|
|
private C12941fLs c;
|
|
|
|
@Override // android.content.DialogInterface.OnClickListener
|
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
|
SslErrorHandler sslErrorHandler2 = this.a;
|
|
C12941fLs c12941fLs = this.c;
|
|
C14957gcv.e(sslErrorHandler2, "");
|
|
C14957gcv.e(c12941fLs, "");
|
|
sslErrorHandler2.cancel();
|
|
InterfaceC12938fLp interfaceC12938fLp = c12941fLs.a;
|
|
if (interfaceC12938fLp != null) {
|
|
interfaceC12938fLp.M_();
|
|
}
|
|
dialogInterface.dismiss();
|
|
}
|
|
|
|
{
|
|
this.a = sslErrorHandler;
|
|
this.c = this;
|
|
}
|
|
}});
|
|
customDialog.setCancelable(false);
|
|
customDialog.setCanceledOnTouchOutside(false);
|
|
customDialog.show();
|
|
}
|
|
}
|